开发者

How do I run our qunit tests from rake?

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜