Hi Immanuel,

sorry you had to wait so long to get an answer.

Am 25.09.2014 18:46, schrieb [email protected]:
Are there other must reads?
I'm okay with learning javascript, its the transition from textbook examples to tiddlywiki
source code that challenges me.
Besides reading the source code of TW itself, these two resouces helped me the most when I got into writing plugins:
* http://cjhunt.github.io/
* https://homepages.thm.de/~cjrk68/Wiki.html


Currently I restart the server in order to see changes that I make to the tiddler files.
`tiddlywiki TiddlyWiki5SamplePlugin/SamplePluginWiki --server`
Is there a faster way to get feedback? I would like to works as interactive as possible
as my programming is very much try and error at the moment :).
Is there a recommended development setup / work flow?
No, I think sometimes it is enough to just refresh the wiki in the browser, but I do quite a lot of nodejs-server restarting as well.

I understand that tiddlywiki ships with Jasmine as testing framework and I found some tests at TiddlyWiki5 <https://github.com/Jermolene/TiddlyWiki5>/ editions <https://github.com/Jermolene/TiddlyWiki5/tree/master/editions>/ test <https://github.com/Jermolene/TiddlyWiki5/tree/master/editions/test>/ tiddlers <https://github.com/Jermolene/TiddlyWiki5/tree/master/editions/test/tiddlers>/ *tests*/
Would it be possible to add a simple test to the TiddlyWiki5SamplePlugin?
Yes, however I wouldn't put it into the plugin itself. But you can add tests by including the jasmine plugin into your wiki and adding the tag '$:/tags/test-spec' to any tiddler that contains test code. (You can see how to structure the tests themselves by looking at the already existent ones, but basically its a self-executing function that adds test functions to the jasmine instance)

/Andreas

--
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to