markbates / cover_me

An RCov-esque coverage tool for Ruby 1.9
http://www.metabates.com
MIT License
203 stars 18 forks source link

Merging output from multiple runs (rspec for models, cucumber for views) #28

Open skandragon opened 13 years ago

skandragon commented 13 years ago

I would like to merge the run results from multiple runs, namely from rspec and cucumber, into one run. Ideally I'd like to see each independently as well, since I expect rspec to cover model and other low-level libraries and cucumber to handle the views. I want to ensure the rspec parts are tested specifically rather than as a side-effect of the view tests.

dburry commented 13 years ago

The solution I proposed for Issue #22 does a merged rspec & cucumber report. It does not do separate reports as well, but one or two line rake tasks could be easily made using a similar pattern to do such when wanted. This approach does not easily allow side by side browsing of the two styles of report of course.