Tag Archives: ui

CasperJS – fail test with custom testcase-name in xml report

It took some time, but my PR to CasperJS has landed. Now you can fail a test with a custom value for a testcase node’s name property like: casper.test.fail(‘A custom message’, {name: ‘custom name’}); tl;dr When using the –xunit=/path/to/report.xml casperjs … Continue reading

Posted in javascript | Tagged , | 1 Comment