Sha256: 19f80c8986356eb08865bcc3837fbba68016983213c08cb9b0d8d9a252a8de09
Contents?: true
Size: 1.09 KB
Versions: 23
Compression:
Stored size: 1.09 KB
Contents
Feature: Post Configuration Hook [#423] In order to extend Cucumber As a developer I want to manipulate the Cucumber configuration after it has been created Scenario: configuration modified to use HTML formatter Given a standard Cucumber project directory structure And a file named "features/support/env.rb" with: """ AfterConfiguration do |config| config.options[:formats] << ['html', config.out_stream] end """ When I run cucumber features Then STDERR should be empty And the output should contain """ html """ Scenario: feature directories read from configuration Given a standard Cucumber project directory structure And a file named "features/support/env.rb" with: """ AfterConfiguration do |config| config.out_stream << "AfterConfiguration hook read feature directories: #{config.feature_dirs}" end """ When I run cucumber features Then STDERR should be empty And the output should contain """ AfterConfiguration hook read feature directories: features """
Version data entries
23 entries across 23 versions & 5 rubygems