Closed scott-steadman closed 10 years ago
This will allow you to use rake to automate testing and code coverage.
I suggesting adding a test and coverage task.
rake test # run all tests rake coverage # generate a code coverage report using simplecov
Example Rakefile snippet:
desc 'Generate coverage report' task :coverage do ENV['COVERAGE'] = 'true' system('rake test') end
This will allow you to use rake to automate testing and code coverage.
I suggesting adding a test and coverage task.
rake test # run all tests rake coverage # generate a code coverage report using simplecov
Example Rakefile snippet: