Continuous Integration

7 views
Skip to first unread message

Ed Thompson

unread,
Apr 17, 2014, 11:36:25 AM4/17/14
to node-...@googlegroups.com
OK a little off topic but...

I have a Javascript/HTML5 desktop app that runs in node-webkit.

Recommendations for test tools I can use in an automated test env/continuous integration env like jenkins?

I don't want to build/test node-webkit, just the code that runs in node-webkit

Suggestions?

Ed Thompson

unread,
Apr 23, 2014, 12:13:13 PM4/23/14
to node-...@googlegroups.com
Let me try asking this a different way...

Anyone have an example of doing this:  https://github.com/rogerwang/node-webkit/wiki/chromedriver

that is, the directory structure they used, how they run a test suite?

james.m...@a-cti.com

unread,
Apr 23, 2014, 2:38:23 PM4/23/14
to node-...@googlegroups.com
Check this out:  https://github.com/BenoitZugmeyer/chwitt for unit testing

Also, check out how node-webkit runs their tests against their own build.  I'm still working on taking that knowledge and doing something with it, but it may help you as well to take a look at these things.  node-webkit uses Chromedriver2 in their tests, so you may find it more helpful than the chwitt demo.

The main problem I ran into with chwitt's method of testing is all the test files are loaded as node.js modules, which means you lose the node-webkit portion of things...  I'm working on making it so that tests run inside node-webkit so that everything is testable...

Hope this helps,
James
Reply all
Reply to author
Forward
0 new messages