Permalink
Browse files

Add integration test.

  • Loading branch information...
1 parent e420eb1 commit 66675bb25bbe640f6175c5514e2817560ff4526b @cliffano committed Nov 7, 2013
Showing with 28 additions and 4 deletions.
  1. +4 −4 .bob.json
  2. +12 −0 test-integration/commands.yml
  3. +12 −0 test-integration/success.yml
View
@@ -1,5 +1,5 @@
{
- "build": "clean lint complexity test coverage doc",
+ "build": "clean lint complexity test coverage test-integration doc",
"lint": {
"type": "jshint"
},
@@ -9,12 +9,12 @@
"test": {
"type": "buster"
},
- "test-integration": {
- "type": "buster"
- },
"coverage": {
"type": "buster-istanbul"
},
+ "test-integration": {
+ "type": "cmdt"
+ },
"doc": {
"type": "dox-foundation"
}
@@ -0,0 +1,12 @@
+- 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
@@ -0,0 +1,12 @@
+- 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

0 comments on commit 66675bb

Please sign in to comment.