Created
April 17, 2012 22:42
-
-
Save jamesmoriarty/2409577 to your computer and use it in GitHub Desktop.
SimpleCov and Spork
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
| gem 'spork', '1.0.0rc' | |
| gem 'simplecov', :require => false |
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
| Spork.prefork do | |
| unless ENV['DRB'] | |
| require 'simplecov' | |
| SimpleCov.start 'rails' | |
| end | |
| # ... | |
| end | |
| Spork.each_run do | |
| if ENV['DRB'] | |
| require 'simplecov' | |
| SimpleCov.start 'rails' | |
| end | |
| # ... | |
| end |
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
| MyApp::Application.configure do | |
| config.cache_classes = false | |
| # ... | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment