-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
- Allow tests to directly contain both assertions and other tests.
Per #117 (comment) this is required for node-tap and tape. This does limit a bit how reporters can visualise and lay out the data, but seems worth doing. Especially as it aligns us closer with TAP.
For HTML reporters like QUnit that provide a collapsible list of assertions for each, they may need to buffer each test and then render the list of assertions first, followed by the sub tests. This is a small price to pay for widening up the surface of test frameworks and reporters that can participate. It also wouldn't negatively affect any reporters that exist today since those are currently specific to frameworks frameworks that would never excercise that need for buffering, so it's only a win-win to allow the reporter to be user more widely.
- Consider phasing out the "Suite" concept. Most likely obsolete after this.