Created
January 23, 2011 22:18
-
-
Save Atalanta/792506 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
| root@ip-10-227-54-11:/home/stephen/git_server_checker# cucumber | |
| Feature: Git server checker verifies repository can be used by opseng developers | |
| In order to demonstrate that my git cookbook sets up a git repo correctly | |
| As an infrastructure developer | |
| I want to be able to verify the results of a chef run by creating the repo and using it | |
| Scenario: checker unable to clone a repository # features/git_server_checker.feature:7 | |
| Given I have a workstation with git and a private key installed # features/step_definitions/git_server_checker_steps.rb:122 | |
| And given that no remote git server has been set up # features/step_definitions/git_server_checker_steps.rb:127 | |
| When I try to clone a repository via ssh # features/step_definitions/git_server_checker_steps.rb:131 | |
| Then my clone attempt is not successful # features/step_definitions/git_server_checker_steps.rb:135 | |
| Scenario: checker can clone a repository # features/git_server_checker.feature:13 | |
| Given I have a workstation with git and a private key installed # features/step_definitions/git_server_checker_steps.rb:122 | |
| And I have applied the git server role to a remote server # features/step_definitions/git_server_checker_steps.rb:139 | |
| And there is a git repo on the remote server # features/step_definitions/git_server_checker_steps.rb:143 | |
| When I try to clone a repository via ssh # features/step_definitions/git_server_checker_steps.rb:131 | |
| Then the clone will succeed # features/step_definitions/git_server_checker_steps.rb:147 | |
| Scenario: checker can push changes to a repository # features/git_server_checker.feature:20 | |
| Given I have a workstation with git and a private key installed # features/step_definitions/git_server_checker_steps.rb:122 | |
| And I have applied the git server role to a remote server # features/step_definitions/git_server_checker_steps.rb:139 | |
| And there is a git repo on the remote server # features/step_definitions/git_server_checker_steps.rb:143 | |
| And I have a local copy of the repo # features/step_definitions/git_server_checker_steps.rb:151 | |
| When I commit some changes # features/step_definitions/git_server_checker_steps.rb:155 | |
| And then push to the remote git server # features/step_definitions/git_server_checker_steps.rb:159 | |
| When I delete my local repo and then clone it again # features/step_definitions/git_server_checker_steps.rb:163 | |
| Then the changes I committed will be in the newly cloned repo # features/step_definitions/git_server_checker_steps.rb:168 | |
| 3 scenarios (3 passed) | |
| 17 steps (17 passed) | |
| 3m16.020s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment