Project

General

Profile

Actions

Feature #10816

closed

Add the ability to capture Coverage information

Added by tenderlovemaking (Aaron Patterson) almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Target version:
-
[ruby-core:67940]

Description

Hi,

I would like to periodically capture coverage information. The reason is because I would like to be able to pair test methods with the lines executed for that test method. The question I would like to answer is "If I modify file A on line B, which tests should I execute?"

I've attached a patch that returns a snapshot of the current coverage information. It means that I can grab coverage information before and after each test case, then calculate which lines of code a particular test executed.


Files

snapshot.diff (3.39 KB) snapshot.diff tenderlovemaking (Aaron Patterson), 02/01/2015 11:57 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0