Yeti is the YUI Easy Testing Interface.
Here you go:
[reid@yui ~/Development/yui/yui3/src]
$ yeti attribute/tests/attribute.html
Waiting for results...
Attribute Unit Tests: 106 passed, 0 failed.
Yeti is a command-line tool for launching JavaScript unit tests in a browser and reporting the results without leaving your terminal. It's very similar to jspec in this regard, except yeti is designed to work with existing unmodified YUI-based tests.
Yeti is very limited:
- Requires and only works with Safari on Mac OS X.
- Assumes you're testing the local copy of the yui3 project.
In the future, Yeti will probably meet your needs better. Right now, it's pretty handy for YUI developers. :)
This is experimental software. Use at your own risk.
You should only do this on Mac OS X. Yeti won't work on other platforms (yet).
Clone this project and then run make.
$ git clone git://github.com/reid/yeti.git && cd yeti && make
This will install homebrew, node and npm for you if you don't have them installed already.