Project

General

Profile

Actions

Feature #4095

closed

C1 Coverage

Added by DanielHeath (Daniel Heath) over 13 years ago. Updated about 6 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:33444]

Description

=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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0