k-yamadaのブログ

プログラミングのメモ

simplecov hangs after all spec passed when running on jruby.

simplecov hangs after all spec passed when running on jruby. the temporary solution is to add at_exit hook to spec helper.
But this spec_helper always return an error code, then when you run the test, do the rspec.rb


Ref: Cucumber hangs after all scenarios passed
http://stackoverflow.com/questions/9062990/cucumber-hangs-after-all-scenarios-passed