Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed display for 'hudson list'; and displays 'no jobs' as necessary
- Loading branch information
Showing
6 changed files
with
41 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
source 'http://rubygems.org' | ||
|
||
gemspec | ||
gemspec |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Feature: Listing jobs | ||
I want to see the status of jobs on servers I'm interested in | ||
|
||
Scenario: List jobs on a non-existent server | ||
When I run local executable "hudson" with arguments "list test --host localhost --port 9999" | ||
Then I should see "localhost:9999 - no connection" | ||
|
||
Scenario: List jobs on a server with no jobs | ||
Given I have a Hudson server running | ||
And the Hudson server has no current jobs | ||
When I run local executable "hudson" with arguments "list test --host localhost --port 3010" | ||
Then I should see "localhost:3010 - no jobs" | ||
|
||
Scenario: List jobs on a server with jobs | ||
Given I have a Hudson server running | ||
And the Hudson server has no current jobs | ||
And I am in the "ruby" project folder | ||
And the project uses "git" scm | ||
When I run local executable "hudson" with arguments "create . --host localhost --port 3010" | ||
When I run local executable "hudson" with arguments "list --host localhost --port 3010" | ||
Then I should see "localhost:3010 -" | ||
Then I should see "ruby" | ||
|
||
|
||
|
||
|
This file contains 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
This file contains 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