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 CHANGED
@@ -188,20 +188,8 @@ need fine grained testing:
188
188
 
189
189
 
190
190
 
191
- Quirks & Caveats
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
 
@@ -23,5 +23,6 @@ Then /^I can generate a new project$/ do
23
23
  FileUtils.rm_rf("/tmp/#{testproj}")
24
24
 
25
25
  silent_system("cd /tmp ; cucumber-nagios-gen project #{testproj}").should be_true
26
+ File.exists?("/tmp/#{testproj}").should be_true
26
27
  end
27
28
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-nagios
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lindsay Holmwood