On 30/01/2012, at 3:31 PM, Adam Boas wrote:

>  at_exit do
>       SimpleCov.result.format!
>       if SimpleCov.result.covered_percent < 100
>         $stderr.puts "Coverage not 100%, build failed."
>         exit 1
>       end
>     end

Thanks a lot Adam.
That is way much better than what I'm doing parsing out HTML [facepalm].


-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to