jauco / jester

Get your project tested and out there with minimal fuss.
https://trello.com/b/GLFKT2X4/jester
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Jester fails on project with zero tests #15

Closed Lutger closed 9 years ago

Lutger commented 9 years ago

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 commented 9 years ago

Hmm, this is by design https://github.com/karma-runner/karma/issues/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 https://github.com/karma-runner/karma/issues/926

jauco commented 9 years ago

Can be fixed by fixing https://github.com/karma-runner/karma/issues/926

jauco commented 9 years ago

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