n1k0/casperjs — pull request #967 by davidlinse (2014-07-04 13:07:08+00:00)
Title: refs #966 - read optional 'name' property from failure

Allow to pass in a custom name to `casper.test.fail()` which is used in the junit xml report.

```
this.test.fail('My custom failure message', {name: 'My custom test-case name' });
```
will produce the following xml.

```xml

My custom failure message

```

What do you think about it guys?

best regards
~david