n1k0/casperjs — Issue #56: Add 'test case' functionality to Casper.test
Author: cwinters
Created: 2012-02-22 17:08:32+00:00
State: open

(originally reported on the google group: http://groups.google.com/group/casperjs/browse_thread/thread/4dc3aa408e1d8157)

Be able to give a name to groups of assertions. Typically these are known as test cases, and they provide a useful way to both read tests and report on them. This can be optional (streams of assertions can work fine as well), but if implemented they should be part of the context passed around in emitted events. The name of the test case should be used in the xunit (and other) test reporting output.