I am running CasperJS tests. I tried to generate xUnit xml file in output rendering. But this fails when ever a single FAILure occurs. Actually the executing stopped when a single FAIL occurs.
Here is the script that I am working on
casper.test.begin('Site login', '', function suite(test) {
casper.start(mysite, function () {
test.assertExists('form#index', "Login Form found"); //Pass
test.assertExists('form#index1', "Login Form found"); //Fail
});
casper.run(function (){
test.done();
test.renderResults(true, 0, 'test1.xml');
});
});