If you're writing a JavaScript test module, you'll be familiar with
putting this at the end of your YUI().use(...) block:

  Y.lp.testing.Runner.run(suite);

That's neat and concise but it causes a problem: there's no way to
just import the test module.

I've been trying out an alternative approach (test *modules* that
don't care about the runner). It's already in the tree so you could
use it too. If no one objects I'll convert existing tests later in the
week or next, so read the following page if this interests you:

https://dev.launchpad.net/GavinPanella/ImportingJavaScriptTestModules

Gavin.

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to     : launchpad-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~launchpad-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to