sporkrb / spork

A DRb server for testing frameworks (RSpec / Cucumber currently) that forks before each run to ensure a clean testing state.
spork.rubyforge.org
MIT License
1.4k stars 202 forks source link

No RSpec output #247

Open sergio101 opened 11 years ago

sergio101 commented 11 years ago

I have finally decided to track down a problem i have had with my testing lately, and i have found that if i do something like:

rspec spec/models/order_garage_door_spec.rb

with NO spork running, i get all my rspec results as expected.

when i start spork, and do something like:

rspec spec/models/order_garage_door_spec.rb --drb

i can see my test being run in spark's output, but i get no output from rspec.

i have a feeling something changed since i last worked on this project

rails --version Rails 3.0.19

rspec --version 2.14.7

Using spork (1.0.0rc4)

thanks!

jimpo commented 11 years ago

Do you assign config.formatter in your spec_helper?

I have the same problem. I have found out that the output stream of my formatter is set to a StringIO instead of the real output because I am adding my formatter in my spec_helper.rb file.