Class: Hecks::Behaviors::TestCase
- Inherits:
-
Struct
- Object
- Struct
- Hecks::Behaviors::TestCase
- Defined in:
- lib/hecks/behaviors/ir.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#expect ⇒ Object
Returns the value of attribute expect.
-
#input ⇒ Object
Returns the value of attribute input.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#on_aggregate ⇒ Object
Returns the value of attribute on_aggregate.
-
#setups ⇒ Object
Returns the value of attribute setups.
-
#tests_command ⇒ Object
Returns the value of attribute tests_command.
Instance Method Summary collapse
-
#dotted? ⇒ Boolean
An already-dotted tests_command is a literal FQN; otherwise
on:composes with the domain name resolved once setups/the tested dispatch actually run (see Expectations — the domain isn't known untilloadsis booted, so it's a runtime concern, not a field here). - #query? ⇒ Boolean
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description
14 15 16 |
# File 'lib/hecks/behaviors/ir.rb', line 14 def description @description end |
#expect ⇒ Object
Returns the value of attribute expect
14 15 16 |
# File 'lib/hecks/behaviors/ir.rb', line 14 def expect @expect end |
#input ⇒ Object
Returns the value of attribute input
14 15 16 |
# File 'lib/hecks/behaviors/ir.rb', line 14 def input @input end |
#kind ⇒ Object
Returns the value of attribute kind
14 15 16 |
# File 'lib/hecks/behaviors/ir.rb', line 14 def kind @kind end |
#on_aggregate ⇒ Object
Returns the value of attribute on_aggregate
14 15 16 |
# File 'lib/hecks/behaviors/ir.rb', line 14 def on_aggregate @on_aggregate end |
#setups ⇒ Object
Returns the value of attribute setups
14 15 16 |
# File 'lib/hecks/behaviors/ir.rb', line 14 def setups @setups end |
#tests_command ⇒ Object
Returns the value of attribute tests_command
14 15 16 |
# File 'lib/hecks/behaviors/ir.rb', line 14 def tests_command @tests_command end |
Instance Method Details
#dotted? ⇒ Boolean
An already-dotted tests_command is a literal FQN; otherwise on:
composes with the domain name resolved once setups/the tested
dispatch actually run (see Expectations — the domain isn't known
until loads is booted, so it's a runtime concern, not a field
here).
21 |
# File 'lib/hecks/behaviors/ir.rb', line 21 def dotted? = tests_command.to_s.include?(".") |
#query? ⇒ Boolean
23 |
# File 'lib/hecks/behaviors/ir.rb', line 23 def query? = kind == :query |