Class: ParallelCucumber::TestCase
- Inherits:
-
Object
- Object
- ParallelCucumber::TestCase
- Defined in:
- lib/parallel_cucumber/test_case.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
-
#location ⇒ Object
readonly
Returns the value of attribute location.
Instance Method Summary collapse
-
#initialize(location, env) ⇒ TestCase
constructor
A new instance of TestCase.
- #to_json ⇒ Object
Constructor Details
#initialize(location, env) ⇒ TestCase
Returns a new instance of TestCase.
8 9 10 11 |
# File 'lib/parallel_cucumber/test_case.rb', line 8 def initialize(location, env) @location = location @env = env end |
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env.
5 6 7 |
# File 'lib/parallel_cucumber/test_case.rb', line 5 def env @env end |
#location ⇒ Object (readonly)
Returns the value of attribute location.
6 7 8 |
# File 'lib/parallel_cucumber/test_case.rb', line 6 def location @location end |
Instance Method Details
#to_json ⇒ Object
13 14 15 16 17 18 |
# File 'lib/parallel_cucumber/test_case.rb', line 13 def to_json { location: @location, env: env }.to_json end |