Sha256: 14332dc2d233ebd7bde313d9f6f7c04bc01c1a4bb11806bfb3315f1d94bc5cd6
Contents?: true
Size: 1.57 KB
Versions: 3
Compression:
Stored size: 1.57 KB
Contents
Feature: Generating a project with TestGen Background: When I run `testgen project sample` Scenario: Creating the top level project directory Then a directory named "sample" should exist Scenario: Generating the cucumber.yml file Then a file named "sample/cucumber.yml" should exist And the file "sample/cucumber.yml" should contain "default: --no-source --color --format pretty" Scenario: Generating the Gemfile file Then a file named "sample/Gemfile" should exist And the file "sample/Gemfile" should contain "gem 'cucumber'" And the file "sample/Gemfile" should contain "gem 'rspec'" And the file "sample/Gemfile" should contain "source 'https://rubygems.org'" Scenario: Generating the Rakefile file Then a file named "sample/Rakefile" should exist And the file "sample/Rakefile" should contain "Cucumber::Rake::Task.new(:features)" And the file "sample/Rakefile" should contain exactly: """ require 'rubygems' require 'cucumber' require 'cucumber/rake/task' Cucumber::Rake::Task.new(:features) do |t| t.profile = 'default' end task :default => :features """ Scenario: Creating the features set of directories Then the following directories should exist: | sample/features | | sample/features/support | | sample/features/step_definitions | Scenario: Generating the env.rb file Then a file named "sample/features/support/env.rb" should exist And the file "sample/features/support/env.rb" should contain "require 'rspec-expectations'"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
testgen-0.8.5 | features/testgen_project.feature |
testgen-0.8.4 | features/testgen_project.feature |
testgen-0.8.3 | features/testgen_project.feature |