Closed ephracis closed 7 years ago
Any updates on this? I just ran into the same issue myself.
I've found that some specs run, but one spec sometimes gets ignored, depending on its contents. Progressively commenting things out will get the test to run; I haven't figured out yet what exactly it takes to trigger it. When it does ignore the file, when running with the '-f documentation' flag, the output is:
0 examples, 0 failures
Running Rails 4.2.7.1 and Teaspoon 1.1.5.
FWIW the problem on my end (running Rails 5) was related to a bug in the Puma server: It did not register to the same port that Teaspoon assigned it, and so Teaspoon was stuck. Fixed in latest Puma: https://github.com/puma/puma/issues/1154
In my case, it was a subtle bug in the test file itself. What was surprising was that it caused the whole file to be ignored, rather than show an error. That's javascript for ya.
I believe it was a small typo for me as well. Can't remember what it was, though. Closing this.
My tests are not being loaded properly in Teaspoon. Tried both jasmine and mocha.
I have verified that the test files are found by
Dir.glob
in the current directory. Theteaspoon_env.rb
file is untouched, generated withbin/rails generate teaspoon:install --coffee
.Here's my test file at
spec/javascripts/foo_spec.rb
:Running Rails 5.0.0.1 and Teaspoon 1.1.5.