RSpec output only shows up in Spork's window when formatters are set #209

suan opened this Issue Sep 19, 2012 · 1 comment

2 participants


I've noticed a weird problem where whenever I add any formatter in my spec_helper, RSpec output gets sent to the window Spork is running in instead of the window I initiate tests from. It doesn't matter if I add the formatter in the prefork block, the each_run block, or both. It happens even when I add the default formatter! ("progress") For example, when I do this in my spec_helper.rb:

Spork.each_run do
  RSpec.configure do |c|
    c.add_formatter 'progress'

The output is fine if I don't add any formatters, and anything that prints to STDOUT from my tests or code also show up in the correct window. I have a feeling that it has something to do with IO objects being cached or something... is adding formatters just not supported?


I'm having the same issue, even though I'm not setting add_formatter anywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment