Is there a way for continue a test suite when a fail occurs? By example :
casper.test.begin("",3,function suite(){
casper.start(url).then(function(){
test.assert(...);
test.assert(...); //If this assert fail, the script stop and the third assert isn't tested
test.assert(...);
}).run(function(){
test.done();
});
});
I want all assert are tested, even if some fail. Is it possible?
Aucun commentaire:
Enregistrer un commentaire