Class: Cucumber::Distrib::Test::Case
- Inherits:
-
Core::Test::Case
- Object
- Core::Test::Case
- Cucumber::Distrib::Test::Case
- Defined in:
- lib/cucumber/distrib/test.rb
Overview
Object that mimic Cucumber::Core::Test::Case on Leader for reporters.
Instance Method Summary collapse
-
#initialize(test_case) ⇒ Case
constructor
A new instance of Case.
Constructor Details
#initialize(test_case) ⇒ Case
Returns a new instance of Case.
17 18 19 20 21 22 23 24 25 |
# File 'lib/cucumber/distrib/test.rb', line 17 def initialize(test_case) # rubocop:disable Lint/MissingSuper @id = test_case.id @name = test_case.name @test_steps = test_case.test_steps.map { |test_step| Test.adapt_test_step(test_step) } @location = test_case.location @tags = test_case. @language = test_case.language @around_hooks = [] end |