README.md in cucumber-nagios-0.6.0 vs README.md in cucumber-nagios-0.6.1
- old
+ new
@@ -186,25 +186,13 @@
When I follow "Contact"
Then the elapsed time should be less than 7 seconds
-Quirks & Caveats
-================
+Quirks
+======
-Multiple scenarios
-------------------
-
-You may want to think about keeping to one scenario to a file, otherwise
-you'll get multiple lines of output for a test:
-
- Critical: 1, Warning: 0, 2 okay | passed=2, failed=1, total=3
- Critical: 1, Warning: 0, 4 okay | passed=4, failed=1, total=5
-
-That said, Nagios should only read the last line, so this might be an ok
-behaviour when you want to test for an aggregate of failures across a site.
-
Failure *is* an option (exceptions are good)
--------------------------------------------
Exceptions raised within your tests will appear in the failed totals, so you
don't need to worry about trying to catch them in your own custom steps.
@@ -232,6 +220,15 @@
$ bzr add
$ bzr commit -m 'created cucumber-nagios project'
`.bzrignore` and `.gitignores` are created when you generate a project.
+Testing
+-------
+
+The gem is thoroughly tested (with Cucumber, no less). The gem's Cucumber
+features live in $gemroot/features/, and can be run with:
+
+ $ cucumber --require features/ features/installing.feature
+ $ cucumber --require features/ features/creating.feature
+ $ cucumber --require features/ features/using.feature