jquery/qunit — Issue #209: expect(0) error doesn't have useful stack trace
Author: wycats
Created: 2012-03-06 21:38:12+00:00
State: open

When a test has no assertions, QUnit throws "Expected at least one assertion, but none were run - call expect(0) to accept zero assertions".

Because this error is inside QUnit code and not test code, the exception information is not very useful. At first glance, it seems like it may be impossible to provide better information, but I'm opening this ticket to try to brainstorm a better solution.