Created
July 12, 2010 20:41
-
-
Save mattwynne/473026 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Feature: Integrate fixes | |
| In order to integrate a set of fixes from corresponding Git branches with the main branch | |
| As a build engineer | |
| I need an interactive commandline tool that leads me through the process | |
| @announce | |
| Scenario: Simulate integration of 3 fixes # features/integrate/integrate.feature:8 | |
| Given commandline options -n # features/integrate/step_definitions/common_steps.rb:5 | |
| Running python /Users/matt/temp/misc/integrate -n 850234 850235 850236 | |
| In popen3 | |
| When I integrate fixes 850234, 850235 and 850236 # features/integrate/step_definitions/integrate_steps.rb:1 | |
| $ python /Users/matt/temp/misc/integrate -n 850234 850235 850236 | |
| python: can't open file '/Users/matt/temp/misc/integrate': [Errno 2] No such file or directory | |
| undefined method `exitstatus' for nil:NilClass (NoMethodError) | |
| ./features/integrate/support/env.rb:66:in `block in run_with_input' | |
| ./features/integrate/support/env.rb:52:in `run_with_input' | |
| ./features/integrate/support/env.rb:42:in `run_integrate' | |
| ./features/integrate/step_definitions/integrate_steps.rb:8:in `/^I integrate fixes (\d+(?:(?:, \d+)*(?: and \d+))?)$/' | |
| features/integrate/integrate.feature:10:in `When I integrate fixes 850234, 850235 and 850236' | |
| Then it should pass with exactly: # features/integrate/step_definitions/common_steps.rb:9 | |
| """ | |
| Integrating bugs 850234, 850235 and 850236 | |
| Do you want to go ahead integrating them? y/n | |
| """ | |
| Scenario: Integrate 3 fixes # features/integrate/integrate.feature:17 | |
| Running python /Users/matt/temp/misc/integrate 850234 850235 850236 | |
| In popen3 | |
| When I integrate fixes 850234, 850235 and 850236 # features/integrate/step_definitions/integrate_steps.rb:1 | |
| undefined method `exitstatus' for nil:NilClass (NoMethodError) | |
| ./features/integrate/support/env.rb:66:in `block in run_with_input' | |
| ./features/integrate/support/env.rb:52:in `run_with_input' | |
| ./features/integrate/support/env.rb:42:in `run_integrate' | |
| ./features/integrate/step_definitions/integrate_steps.rb:8:in `/^I integrate fixes (\d+(?:(?:, \d+)*(?: and \d+))?)$/' | |
| features/integrate/integrate.feature:18:in `When I integrate fixes 850234, 850235 and 850236' | |
| Then integration should succeed # features/integrate/step_definitions/integrate_steps.rb:12 | |
| Failing Scenarios: | |
| cucumber features/integrate/integrate.feature:8 # Scenario: Simulate integration of 3 fixes | |
| cucumber features/integrate/integrate.feature:17 # Scenario: Integrate 3 fixes | |
| 2 scenarios (2 failed) | |
| 5 steps (2 failed, 2 skipped, 1 passed) | |
| 0m0.059s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment