You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use cover_me 1.0.0.rc6 while running my Rails 3.0.7 app's test suite in parallel with test-loop. Since these parallel tests cannot all write to the same coverage.data file simultaneously, I wanted to assign each of them a unique coverage.data file in my test/test_helper.rb file in the following ways.
Starting CoverMe at the top of my test/test_helper.rb in the master process:
Starting CoverMe (after configuring its output locations) in a worker process just before it loads and runs a test/**_test.rb file from my Rails app test suite:
Actually, test-loop uses processes, not threads, to run tests in parallel. The core issue is that the setting of CoverMe's configuration parameters is not taking effect. Any ideas?
Hello,
I'm trying to use cover_me 1.0.0.rc6 while running my Rails 3.0.7 app's test suite in parallel with test-loop. Since these parallel tests cannot all write to the same
coverage.data
file simultaneously, I wanted to assign each of them a uniquecoverage.data
file in mytest/test_helper.rb
file in the following ways.Starting CoverMe at the top of my
test/test_helper.rb
in the master process:Starting CoverMe in a worker process just before it loads and runs a
test/**_test.rb
file from my Rails app test suite:Starting CoverMe (after configuring its output locations) in a worker process just before it loads and runs a
test/**_test.rb
file from my Rails app test suite:None of these worked; all workers write to the same
coverage.data
at the root of my Rails app. Any ideas?Thanks for your consideration.
The text was updated successfully, but these errors were encountered: