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

RSpec code is always run #73

Open
aspiers opened this issue Mar 16, 2013 · 1 comment
Open

RSpec code is always run #73

aspiers opened this issue Mar 16, 2013 · 1 comment

Comments

@aspiers
Copy link

aspiers commented Mar 16, 2013

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
Copy link
Author

aspiers commented Mar 21, 2013

This is probably an autorun issue very similar to the detailed in rails/spring#103.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant