I would like to be able to issue the command rake test:qunit and to have ou开发者_运维技巧r qunit tests run. Is this possible? Can it be done without opening a browser window?
You could integrate PhantomJS into rake. PhantomJS can run QUnit tests and provides useful results, as its using an actual browser engine (WebKit). PhantomJS has an example on integrating QUnit.
This looks promising: https://github.com/jodosha/hanoi
加载中,请稍侯......
精彩评论