Sha256: 3209af4fdce7ebefee128c5c642601c512bb9d0b50d66a808cb975729c59ca36
Contents?: true
Size: 1.1 KB
Versions: 41
Compression:
Stored size: 1.1 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.join(', ')}" 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
41 entries across 41 versions & 5 rubygems