How to get jenkins to run my qunit test using phantomjs How to get jenkins to run my qunit test using phantomjs jenkins jenkins

How to get jenkins to run my qunit test using phantomjs


In Jenkins, configure your job, add a post build action, select publish JUnit test result report then add the path to your xml file in the requested field.


A couple years ago, a colleague of mine and I worked on getting PhantomJS to run QUnit tests and output JUnit XML that Jenkins can consume:http://www.cameronjtinker.com/post/2013/09/24/QUnit-JSCoverage-and-Jenkins.aspx

I had forgotten to post this on my blog after we worked on this so I just posted it today when I saw your question. Much has changed since 2011 when this was originally written, but it should have most of the same concepts involved.