开发者

How do I run our qunit tests from rake?

开发者 https://www.devze.com 2023-01-22 20:53 出处:网络
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 Phantom

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

精彩评论

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