[ruby-core:85847] [Ruby trunk Feature#4095] C1 Coverage

From: mr.sherwani@...
Date: 2018-02-27 12:07:31 UTC
List: ruby-core #85847
Issue #4095 has been updated by kinaan.sherwani (Kinaan Sherwani).


nahi (Hiroshi Nakamura) wrote:
> Contribution are welcomed...

I am planning to contribute to ruby project (starting with this issue), any pointers (where to start wiki/guide) will be much appreciated.

----------------------------------------
Feature #4095: C1 Coverage
https://bugs.ruby-lang.org/issues/4095#change-70704

* Author: DanielHeath (Daniel Heath)
* Status: Feedback
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
=begin
 The built-in coverage in Ruby 1.9 is great, but it only offers line-by-line coverage.
 
 It would be better if we could determine which parts of each line have been run e.g:
 
 # File 'coverage_example.rb'
 true ? 'always run' : 'never run'
 
 Coverage would return:
 {'coverage_example.rb' => 
   [
     {
       0..28 => 1
     }, 
     {
       0..21 => 1, 
       22..33 => 0
     }
   ]
 }
=end




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

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next