LoginSignup
3
3

More than 5 years have passed since last update.

テスト落ちてもデプロイされてる!? SimpleCovユーザーが見なおしてほしいたった1つの設定

Last updated at Posted at 2014-02-17

現時点(2014/2/17 日本時間お昼)の情報なので、最新の情報はissueを見てください。

Rspec 2.14 + Ruby 2.1.0 + Simplecov 0.8.x doesn't pass along the correct exit status · Issue #281 · colszowka/simplecov

Important Notice: There is currently a bug that affects exit code handling on the 0.8 line of SimpleCov, see #281. Please use gem 'simplecov', '~> 0.7.1' until this is resolved.

だそうです。

落ちるspecを追加してテストを実行したあとecho $?すると確認出来ると思います。

SimpleCovのREADMEにもありますが、parallel_testsを使っている方は、バージョンを0.7に落とすとカバレッジがうまく測れなくなるかもしれないので気をつけてください><

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3