Class: RuboCop::Cop::RSpecParity::SufficientContexts::SpecCoverage
- Inherits:
-
Struct
- Object
- Struct
- RuboCop::Cop::RSpecParity::SufficientContexts::SpecCoverage
- Defined in:
- lib/rubocop/cop/rspec_parity/sufficient_contexts.rb
Overview
A spec’s contribution to coverage: scenarios counted from un-annotated contexts/examples, plus the raw annotation labels gathered from it.
Instance Attribute Summary collapse
-
#annotations ⇒ Object
Returns the value of attribute annotations.
-
#scenarios ⇒ Object
Returns the value of attribute scenarios.
Instance Attribute Details
#annotations ⇒ Object
Returns the value of attribute annotations
91 92 93 |
# File 'lib/rubocop/cop/rspec_parity/sufficient_contexts.rb', line 91 def annotations @annotations end |
#scenarios ⇒ Object
Returns the value of attribute scenarios
91 92 93 |
# File 'lib/rubocop/cop/rspec_parity/sufficient_contexts.rb', line 91 def scenarios @scenarios end |