cucumber-nagios 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +11 -14
- data/features/steps/installing_steps.rb +1 -0
- metadata +1 -1
data/README.md
CHANGED
@@ -188,20 +188,8 @@ need fine grained testing:
|
|
188
188
|
|
189
189
|
|
190
190
|
|
191
|
-
Quirks
|
192
|
-
|
193
|
-
|
194
|
-
Multiple scenarios
|
195
|
-
------------------
|
196
|
-
|
197
|
-
You may want to think about keeping to one scenario to a file, otherwise
|
198
|
-
you'll get multiple lines of output for a test:
|
199
|
-
|
200
|
-
Critical: 1, Warning: 0, 2 okay | passed=2, failed=1, total=3
|
201
|
-
Critical: 1, Warning: 0, 4 okay | passed=4, failed=1, total=5
|
202
|
-
|
203
|
-
That said, Nagios should only read the last line, so this might be an ok
|
204
|
-
behaviour when you want to test for an aggregate of failures across a site.
|
191
|
+
Quirks
|
192
|
+
======
|
205
193
|
|
206
194
|
Failure *is* an option (exceptions are good)
|
207
195
|
--------------------------------------------
|
@@ -234,4 +222,13 @@ To get up and running with bzr:
|
|
234
222
|
|
235
223
|
`.bzrignore` and `.gitignores` are created when you generate a project.
|
236
224
|
|
225
|
+
Testing
|
226
|
+
-------
|
227
|
+
|
228
|
+
The gem is thoroughly tested (with Cucumber, no less). The gem's Cucumber
|
229
|
+
features live in $gemroot/features/, and can be run with:
|
230
|
+
|
231
|
+
$ cucumber --require features/ features/installing.feature
|
232
|
+
$ cucumber --require features/ features/creating.feature
|
233
|
+
$ cucumber --require features/ features/using.feature
|
237
234
|
|