[ruby-core:64699] [ruby-trunk - Feature #10189] Coverage report with Simplecov

From: shibata.hiroshi@...
Date: 2014-09-01 02:44:38 UTC
List: ruby-core #64699
Issue #10189 has been updated by Hiroshi SHIBATA.


Eric Wong wrote:
> Can we keep it out-of-tree and use it like rubyspec?

Good point.
I implemented ```make update-coverage``` task like update-rubyspec.

https://github.com/ruby/ruby/pull/708/files

>  I may also extract the terminal-friendly coverage output of yahns
>  into a standalone gem, its only a few lines:
>  
>  	http://bogomips.org/yahns.git/plain/test/covshow.rb
>  	http://bogomips.org/yahns.git/plain/test/helper.rb
>  
>  I can make yahns test code CC0/public domain.

simplecov can switch terminal-friendly report.
but simplecov shows unreachable code us with html report. It's so useful.


----------------------------------------
Feature #10189: Coverage report with Simplecov
https://bugs.ruby-lang.org/issues/10189#change-48596

* Author: Hiroshi SHIBATA
* Status: Open
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
I ported [simplecov](https://github.com/colszowka/simplecov) into ruby core for measurement of test coverage.

see. https://github.com/ruby/ruby/pull/708

simplecov is MIT license. we can bundle it to ruby. Can I merge it?



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next