Class: Testprune::Footprint
- Inherits:
-
Struct
- Object
- Struct
- Testprune::Footprint
- Defined in:
- lib/testprune/footprint.rb
Overview
A single test’s semantic coverage: the set of AST-aware unit IDs it executed, plus the metadata needed to report and patch it.
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#file ⇒ Object
Returns the value of attribute file.
-
#id ⇒ Object
Returns the value of attribute id.
-
#line ⇒ Object
Returns the value of attribute line.
-
#units ⇒ Object
Returns the value of attribute units.
-
#wall_time ⇒ Object
Returns the value of attribute wall_time.
Instance Method Summary collapse
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description
9 10 11 |
# File 'lib/testprune/footprint.rb', line 9 def description @description end |
#file ⇒ Object
Returns the value of attribute file
9 10 11 |
# File 'lib/testprune/footprint.rb', line 9 def file @file end |
#id ⇒ Object
Returns the value of attribute id
9 10 11 |
# File 'lib/testprune/footprint.rb', line 9 def id @id end |
#line ⇒ Object
Returns the value of attribute line
9 10 11 |
# File 'lib/testprune/footprint.rb', line 9 def line @line end |
#units ⇒ Object
Returns the value of attribute units
9 10 11 |
# File 'lib/testprune/footprint.rb', line 9 def units @units end |
#wall_time ⇒ Object
Returns the value of attribute wall_time
9 10 11 |
# File 'lib/testprune/footprint.rb', line 9 def wall_time @wall_time end |
Instance Method Details
#empty? ⇒ Boolean
10 11 12 |
# File 'lib/testprune/footprint.rb', line 10 def empty? units.empty? end |