README.md in cucumber-nagios-0.6.8 vs README.md in cucumber-nagios-0.7.0

- old
+ new

@@ -187,12 +187,29 @@ When I follow "Login" Then the elapsed time should be less than 4 seconds When I follow "Contact" Then the elapsed time should be less than 7 seconds +AMQP Message Queues +=================== +You can test for various conditions on an AMQP message queue. + Feature: github.com + To make sure the rest of the system is in order + All our message queues must not be backed up + + Scenario: test queue 2 + Given I have a AMQP server on rabbit.github.com + And I want to check on the fork queue + Then it should have less than 400 messages + Then it should have at least 5 consumers + Then it should have less than 50 messages per consumer + +This has been tested using RabbitMQ but uses the amqp gem which should support +other backends. See features/amqp_steps.rb for all the available steps. + Quirks ====== Failure *is* an option (exceptions are good) -------------------------------------------- @@ -202,9 +219,26 @@ i.e. if you try fetching a page on a server that is down, or the page returns a 404, the exception raised by Mechanize just gets treated by Cucumber as a test failure. +Using the Steps in another Cucumber suite +========================================= + +If you want to use the steps defined in cucumber-nagios elsewhere, you can +require the steps in `features/support/env` like so: + + # All + require 'cucumber/nagios/steps' + + # Or one by one + require 'cucumber/nagios/steps/ssh' + require 'cucumber/nagios/steps/ping' + +Using the Formatter in another Cucumber suite +============================================= + + cucumber --format Cucumber::Formatter::Nagios features/foo.feature Version control =============== It's highly recommend that you store your cucumber-nagios projects in a version