markbates / cover_me

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

Coverage counting RDoc header lines #57

Closed ghost closed 13 years ago

ghost commented 13 years ago

I recently documented a controller in one our apps and the coverage dropped noticeably. When I looked at the details in the report I saw that it viewed rdoc lines with '==' or '===' as executable code.

Is there a way to configure cover_me so it ignores all comment lines or a way to configure it so it is not influenced by the rdoc?

Thanks.

ghost commented 13 years ago

I am closing this because it turned out to be a syntax error in the RDoc that was tricking cover_me. Once fixed, cover_me happily skips over the documentation.