Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Open
suan opened this Issue · 1 comment

2 participants

@suan

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'
    ...
  end
end

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?

@inspire22

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
Something went wrong with that request. Please try again.