Created
May 16, 2014 21:58
-
-
Save t-oginogin/2c19699c76e75b92183f to your computer and use it in GitHub Desktop.
Rails SimpleCovでカバレッジが上書きされないようにする ref: http://qiita.com/t_oginogin/items/d65ef458dcca44d95ced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| : | |
| require 'simplecov' | |
| SimpleCov.start do | |
| add_filter "/test/" | |
| add_filter "/config/" | |
| SimpleCov.command_name "MiniTest #{Time.now}" | |
| add_group 'Controllers', 'app/controllers' | |
| add_group 'Models', 'app/models' | |
| add_group 'Helpers', 'app/helpers' | |
| add_group 'Libraries', 'lib' | |
| end if ENV["COVERAGE"] | |
| : |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment