On 12/26/10, Miller Medeiros <[email protected]> wrote:
> check  the new YUI Test. it has code coverage and a bunch of cool features
> including good exception handling and a plugin for selenium..
>
> http://developer.yahoo.com/yui/theater/video.php?v=yuiconf2010-yuitest
>
That vid seems to have been removed.

I believe he is using Seleniium to launch the browser, fire up the
test suite, which uses YUI Test.

I've I used YUI Test a lot. At the time, it was the least bad js unit
testing framework I could find. Though the lack of bug fixes did
eventually prove to be a problme in my case. I have a sloppily-patched
up version of YUI Test which is incompatible to the trunk. Bummer.

Plus also YUI Test methods are very long (at least in the version I
have). This is bad when debugging a test function, e.g.
UserAction.click(obj), through to the callbacks because there is a lot
of debugger "step over" individual statements. It's tedious. I'd
rather have step over five function call statements than 50 inlined
statements. IMO the testing framework should have small functions so
it is easy to step over for the user. Of course for developers it is
nice to have small functions.

SO rather than continue patching YUI Test, I decided to write my own.

You can probably see some influence from YUI Test in my own event synth code:
<https://github.com/GarrettS/ape-javascript-library/blob/master/src/eventsynth/Mouse.js>

Of course anybody can take those ideas and put them into their own
code or even back into YUI Test.
-- 
Garrett

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to