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

Jester fails on project with zero tests #15

Closed
Lutger opened this issue Feb 2, 2015 · 3 comments
Closed

Jester fails on project with zero tests #15

Lutger opened this issue Feb 2, 2015 · 3 comments

Comments

@Lutger
Copy link
Collaborator

Lutger commented Feb 2, 2015

This is what happens when you don't have any tests (yet):

Chrome 39.0.2171 (Linux): Executed 0 of 0 ERROR (0.002 secs / 0 secs)
Firefox 34.0.0 (Linux): Executed 0 of 0 ERROR (0 secs / 0 secs)
Karma server has finished with 1
Finished with errors, not all tests or lints succeeded.

I'd expect it not to fail, or fail with a clearer error message.

@jauco
Copy link
Owner

jauco commented Feb 2, 2015

Hmm, this is by design karma-runner/karma#926 though I agree that the message could use improvement.

0 tests in a CI environment would almost always be a failure because you can easily add 1 passing test and it might be because of a gross misconfiguration which would otherwise go unnoticed

In short: this can be fixed by fixing karma-runner/karma#926

@jauco
Copy link
Owner

jauco commented Feb 2, 2015

Can be fixed by fixing karma-runner/karma#926

@jauco jauco closed this as completed Feb 2, 2015
@jauco jauco reopened this Feb 2, 2015
@jauco
Copy link
Owner

jauco commented Apr 20, 2015

Closing this. I don't see why you'd want to run jester and not have any unittests. Just write some.

@jauco jauco closed this as completed Apr 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants