Hello Per,

On Wed, Feb 25, 2009 at 7:54 PM, Per Cederberg <[email protected]> wrote:
>
> Interesting that you're using SimpleTest! It is on my not-so-secret
> agenda for 1.5 to merge that into MochiKit.Test and create a public
> API for JS testing.

Interesting; but SimpleTest is quite fine for my current needs


> To answer your question -- I think the tests/index.html file in the
> MochiKit distribution does this. It might not be all that elegant
> though.

Nope. The tests/index.html files invoke the TestRunner.runTests method
on a list of "regular" html test files.

What I need is a way to create a tests/index.html test suite, that
could include a call to (for example) tests/module1/index.html; where
the later file is structured just like the former.


> Be sure to let me know if you have any ideas regarding creating an
> improved testing API.

At the moment our testing needs are fulfilled by SimpleTest api. The
only problem we have, is that sometimes tests fail silently, and if
you don't know the correct number of expected tests, you may miss some
errors. :-(

But this is just an implementation issue.

Regards,

Giulio Cesare

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to