jejacks0n / teaspoon

Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.
1.43k stars 243 forks source link

No specs detected #523

Open thebravoman opened 7 years ago

thebravoman commented 7 years ago

Did everything as in the readme. I was developing and running tests for about an hour

Then they just stopped.

rake teaspoon

returns

Finished in 0.00500 seconds
0 examples, 0 failures

I can not make it detects that there is a spec.

thebravoman commented 7 years ago

Found it.

When there is a syntax error in on test non of the tests are run The error was

console.log(iterator.);

Am I understanding it right? If there is an error in one of the tests, non of the tests are run?

jejacks0n commented 7 years ago

it should error out.. are you using any error handling gems in rails?

thebravoman commented 7 years ago

exception_handler only.

tubbo commented 6 years ago

we're also seeing this kind of thing happen, especially on the first run of a test suite. had a failing build for a while on CI because Teaspoon isn't doing an exit 1 when it doesn't encounter any tests.