-
Notifications
You must be signed in to change notification settings - Fork 202
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 + Spork on Win give no output #251
Comments
UPDATE: This seems to be related to #248 -- changes in spec output handling. With Rails 4.1.0.beta1 and jRuby 1.7.10 on Mac OSX 10.9 I am getting the same behavior. My Gemfile.lock is here. Same behavior when I get spork-rails and spark from their respective github master branches. Thanks for any insight you can provide.
|
I get almost the same thing, with Rails 4.0.4, rspec 3.0.0.beta2, and ruby 2.1.1p76 on a Mac. I actually get even less output than you guys do. The spork server:
In the terminal where I run the client:
I have an odd wrinkle, where if I run spork -d, I get a bunch of backtraces. The line in spec_helper which causes the backtraces is the one which loads environment.rb. When I require that file from an irb console, it is successfully executed. this is what my spec_helper.rb looks like. If I can be of any help debugging, please let me know. |
+1 |
I created a stupid simple rails app to reproduce the problem. Can somebody else run spork on this repo and confirm that they do not get output? In the meantime, I'm working on debugging (knowing nothing about spork) |
I have given up and am using zeus instead |
I am also getting this. Anyone find a solution yet? |
@joshuaballoch use zeus or spring |
@llimllib , zeus and spring has no Windows support. |
This may be a bit of a hack, but I found this to fix the stdout issue. if Spork.using_spork?
RSpec.configure do |config|
config.reset
config.output_stream = $stdout
end
end more info at http://stackoverflow.com/questions/22239382/how-can-i-configure-rspec-to-show-output-with-spork |
I posted the question on stackoverflow. But without answer.
Rails 3.2.12
Spork 0.9.2
Rspec 2.14.1
I have a sample test spec/models/user_spec.rb
spec/spec_helper.rb
When I run the test without Spork I get:
When I run the test with Spork I get:
In Spork window:
Why does Rspec give no info about pending, failed etc tests when I use it with Spork?
The text was updated successfully, but these errors were encountered: