Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make test fail if no assertions run #178

Closed
jzaefferer opened this issue Nov 24, 2011 · 0 comments
Closed

Make test fail if no assertions run #178

jzaefferer opened this issue Nov 24, 2011 · 0 comments
Labels
Type: Enhancement New idea or feature request.

Comments

@jzaefferer
Copy link
Member

On finish(), check if number of assertions is zero, if so, add a failing assertion. Accept that only when expect(0) is called explicitly.

rwaldron pushed a commit to rwaldron/qunit that referenced this issue Mar 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New idea or feature request.
Development

No branches or pull requests

1 participant