Improve rake tasks for specs
- clean coverage directory before running specs to avoid simplecov slowdowns - add valgrind task to run valgrind; normal spec does not run it - delay combining and reporting simplecov results until end of task to speed up task execution
This commit is contained in:
1 parent
8c92d442bb
commit
4a4647159e
3 files changed
+25
-3
No files matched your search
@@ -15,6 +15,10 @@ unless ENV["dist_specs"]
|
||||
command_name "RSpec"
|
||||
end
|
||||
project_name "Propane"
|
||||
# Keep this process's results separate from the propane subprocess results
|
||||
# so that nothing has to merge on the fly; the spec Rake task collates all
|
||||
# of the parts once the suite is done.
|
||||
coverage_dir "coverage/parts/rspec"
|
||||
merge_timeout 3600
|
||||
formatter(MyFormatter)
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user