Class | SimpleCov::Result |
In: |
lib/simplecov/result.rb
|
Parent: | Object |
A simplecov code coverage result, initialized from the Hash Ruby 1.9‘s built-in coverage library generates (Coverage.result).
files | -> | source_files |
command_name | [W] | Explicitly set the command name that was used for this coverage result. Defaults to SimpleCov.command_name |
created_at | [W] | Explicitly set the Time this result has been created |
files | [R] | Returns all files that are applicable to this result (sans filters!) as instances of SimpleCov::SourceFile. Aliased as :source_files |
original_result | [R] | Returns the original Coverage.result used for this instance of SimpleCov::Result |
Initialize a new SimpleCov::Result from given Coverage.result (a Hash of filenames each containing an array of coverage data)
Returns a hash representation of this Result that can be used for marshalling it into YAML
Returns a yaml dump of this result, which then can be reloaded using SimpleCov::Result.from_yaml