Class: Cucumber::Core::Compiler::TestCaseBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/ext/compiler.rb

Instance Method Summary collapse

Instance Method Details

#on_test_case(source) ⇒ Object



8
9
10
11
12
# File 'lib/cucumber/ext/compiler.rb', line 8

def on_test_case(source)
  Test::Case.new(test_steps, source).describe_to(receiver) #if test_steps.count > 0
  @test_steps = nil
  self
end