When I wrote YUI Test, I made sure that the
TestRunner events and then marshals them to the appropriate FireUnit API calls. All you need to do is load the file and include the following line of code:
That’s it! All the results will be output to the Test tab in Firebug. There are some limitations to FireUnit, such as its inability to group tests and a lack of anything but basic result formatting (so some of the failure messages YUI Test generates don’t look all that pretty). Still, it’s a step in the right direction and I’m sure John will be continuing to develop it. Feel free to download FireUnit for YUI Test and give it a whirl (BSD license).