TW Unit Tests?

8 views
Skip to first unread message

leeand00

unread,
Nov 9, 2009, 9:07:23 AM11/9/09
to TiddlyWikiDev
What and where are the official Unit Tests for Tiddlywiki? Also are
they written in JSUnit or something else?

I'm actually looking to write a plugin, and I though that the Unit
Tests would give me some help in understanding how to use the unit
tests to be sure I haven't broken anything in TW.

Thank you,
Andrew J. Leer

FND

unread,
Nov 9, 2009, 9:17:06 AM11/9/09
to tiddly...@googlegroups.com
> What and where are the official Unit Tests for Tiddlywiki? Also are
> they written in JSUnit or something else?

We're slowly migrating from JSSpec to QUnit:
http://svn.tiddlywiki.org/Trunk/core/test/
http://svn.tiddlywiki.org/Trunk/core/test/README
http://svn.tiddlywiki.org/Trunk/core/tests/

(Unfortunately, we don't have full code coverage for the core; it's an
ongoing effort... )

> I'm actually looking to write a plugin, and I though that the Unit
> Tests would give me some help in understanding how to use the unit
> tests to be sure I haven't broken anything in TW.

That's commendable.
If you stumble across anything noteworthy, please let us know.


-- F.

leeand00

unread,
Nov 9, 2009, 10:30:03 AM11/9/09
to TiddlyWikiDev
Wait I'm not trying to write a Unit testing plugin, I'm trying to
write just a TW plugin.

See this thread for the idea:
http://groups.google.com/group/tiddlywiki/browse_thread/thread/a3138414434e9a9b/a5a02004cafef813?hl=en#a5a02004cafef813

- Andrew

leeand00

unread,
Nov 9, 2009, 10:31:15 AM11/9/09
to TiddlyWikiDev
Wait I'm not trying to write a Unit testing plugin, I'm trying to
write just a TW plugin.

See this thread for the idea:
http://groups.google.com/group/tiddlywiki/browse_thread/thread/a3138414434e9a9b/a5a02004cafef813?hl=en#a5a02004cafef813

- Andrew

On Nov 9, 9:17 am, FND <F...@gmx.net> wrote:

leeand00

unread,
Nov 9, 2009, 10:47:01 AM11/9/09
to TiddlyWikiDev
Wait I'm not trying to write a Unit testing plugin, I'm trying to
write just a TW plugin.

See this thread for the idea:
http://groups.google.com/group/tiddlywiki/browse_thread/thread/a3138414434e9a9b/a5a02004cafef813?hl=en#a5a02004cafef813

- Andrew

On Nov 9, 9:17 am, FND <F...@gmx.net> wrote:
Reply all
Reply to author
Forward
0 new messages