Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Conversation

@chrisroush
Copy link

I was having an issue where errors thrown by my test.html would cause mocha tests to not run.
This would cause my CI to report a successful build, perhaps incorrectly.

This PR adds an option failOnNoTests which will cause the task to fail if no tests are run.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm about to make a 1.0 release. It seems reasonable to fail if 0 tests are run, regardless of configuration. If you're not willing to make those changes, I can make them.

@chrisroush
Copy link
Author

Might be nice to have the option, but default to true?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants