Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add failure scenario.

  • Loading branch information...
commit 04a4662fd74e01c466ad23baee5e1bf42da77b2b 1 parent 66675bb
@cliffano authored
Showing with 4 additions and 12 deletions.
  1. +0 −12 test-integration/commands.yml
  2. +4 −0 test-integration/failure.yml
View
12 test-integration/commands.yml
@@ -1,12 +0,0 @@
-- description: Command help should display help information
- command: ../../../../../bin/nestor --help
- exitcode: 0
- output: 'Usage: nestor'
-
-- description: Command dashboard should display status of all jobs
- command: JENKINS_URL=http://ci.jenkins-ci.org ../../../../../bin/nestor dashboard
- exitcode: 0
-
-- description: Command dashboard should display status of all jobs
- command: ../../../../../bin/nestor dashboard --url http://ci.jenkins-ci.org
- exitcode: 0
View
4 test-integration/failure.yml
@@ -0,0 +1,4 @@
+- description: Command dashboard should display error when URL does not exist
+ command: JENKINS_URL=http://someinexistinghost ../../../../../bin/nestor dashboard
+ exitcode: 0
+ output: getaddrinfo ENOTFOUND
Please sign in to comment.
Something went wrong with that request. Please try again.