LiTiang / js-test-driver

Automatically exported from code.google.com/p/js-test-driver
0 stars 0 forks source link

Nicer output for BDD-style test case descriptions #224

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When using a BDD-style wrapper to write tests, the output isn't as nice as I 
would like. I've attached a patch to the output code which will check test 
names for a leading "test ", strip that and concatenate it with the test case 
name using a space rather than a period.

The result is:

* Widget should rotate

rather than the current:

* Widget.test should rotate

Original issue reported on code.google.com by jabradford@gmail.com on 13 Apr 2011 at 8:22

Attachments: