开发者

How do I see the statistics for rcov from the command line?

开发者 https://www.devze.com 2023-01-29 07:38 出处:网络
I\'m running the built-in rake task to generate rcov reports: rake spec:rcov This generate files in my coverage directory, but I would like to see some aggregate stats output to the command console.

I'm running the built-in rake task to generate rcov reports:

rake spec:rcov

This generate files in my coverage directory, but I would like to see some aggregate stats output to the command console.

Something like the total coverage and number of lines being tested in a format similar to what you get 开发者_Python百科when you run "rake stats"

Anyone know of a way to do this?


I added the --text-summary option to my rcov.opts and it outputs the data I need.

0

精彩评论

暂无评论...
验证码 换一张
取 消