0

we are using Qunits to write testcases,Test cases are getting passed,we are using Jenkins for continuous integration.can any one please let us know how to inegrate qunits with jenkins .so that Jenkins picks up tests and runs the testcases

result.xml format enter image description here

javalearner
  • 347
  • 2
  • 7
  • 21
  • A simple google search returns this answer: http://stackoverflow.com/questions/9482493/qunit-jscoverage-jenkins – Slav Apr 23 '14 at 03:45
  • Thanks for responding Slav.I am facing one issue.i am running qunit testcases by ant build.xml,test cases are getting passed but it is failing to log the results to output xml file.the file consisting only – javalearner Apr 23 '14 at 05:40
  • When you run your `build.xml` manually, does the output xml file get generated then? Does it have a relative location or absolute? – Slav Apr 23 '14 at 13:32
  • I modified qunit library..now the results are written to xml file.sample format i have updated in the above question.I am not sure this is the exact o/p jenkins will able to read it – javalearner Apr 24 '14 at 17:33
  • possible duplicate of [Does qunit-reporter-junit generate junit compatible xml?](http://stackoverflow.com/questions/17686411/does-qunit-reporter-junit-generate-junit-compatible-xml) – Paul Sweatte May 23 '14 at 14:39

0 Answers0