RSpec code is always run
Opened this issue · 1 comments
aspiers commented
I always see 0 examples, 0 failures
in the output even when I'm only running test-unit tests. Even --test-unit
doesn't stop this:
$ spin serve --push-results -t --test-unit -Itest:lib
followed by:
$ spin push test/unit/person_test.rb
Spinning up test/unit/person_test.rb tty?
Loading ["test/unit/person_test.rb"]
Rack::File headers parameter replaces cache_control after Rack 1.5.
No examples found.
Finished in 0.00009 seconds
0 examples, 0 failures
Loaded suite /home/adam/.rvm/gems/ruby-1.9.3-p392@eventbook/bin/spin
Started
..................
Finished in 0.912380817 seconds.
18 tests, 77 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
0% passed
19.73 tests/s, 84.39 assertions/s
Coverage report generated for RSpec, Unit Tests to /home/adam/music/RotC/eventbook/coverage. 393 / 780 LOC (50.38%) covered.
and it even lets me run the whole RSpec suite despite --test-unit
being used:
$ spin push spec
Spinning up spec tty?
Loading ["spec"]
Rack::File headers parameter replaces cache_control after Rack 1.5.
.....
Finished in 0.12828 seconds
5 examples, 0 failures
Coverage report generated for RSpec, Unit Tests to /home/adam/music/RotC/eventbook/coverage. 393 / 780 LOC (50.38%) covered.
aspiers commented
This is probably an autorun issue very similar to the detailed in rails/spring#103.