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

test for errors/exceptions #25

Closed
sebs opened this issue Oct 13, 2011 · 3 comments
Closed

test for errors/exceptions #25

sebs opened this issue Oct 13, 2011 · 3 comments

Comments

@sebs
Copy link

sebs commented Oct 13, 2011

The testing for a Method to cause a error would be nice, some methods do raise errors/exceptions (validation for example), and testing for them could help avoid people writing boilerplate to simulate this.

@sebs
Copy link
Author

sebs commented Oct 13, 2011

assert.exceptionRaised, assert.error could be names for the assert

@sebs sebs closed this as completed Oct 13, 2011
@tj
Copy link
Contributor

tj commented Oct 13, 2011

I think im going to keep assert libs out of mocha, so people can use should.js, or a browser variant that I'll have, or assert.js etc, which is another reason to keep processing serial

@c4milo
Copy link

c4milo commented Oct 16, 2011

I think that's a great idea. +1

boneskull added a commit that referenced this issue Dec 6, 2017
Add information about emacs editor plugin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants