forked from auxesis/cucumber-nagios
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ronn source for building cucumber-nagios man page
- Loading branch information
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,5 @@ rdoc | |
pkg | ||
|
||
## PROJECT::SPECIFIC | ||
man/* | ||
!man/*.ronn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
cucumber-nagios | ||
=============== | ||
|
||
## SYNOPSIS ## | ||
|
||
`cucumber-nagios` <feature> [--debug|--pretty] | ||
|
||
## DESCRIPTION ## | ||
|
||
**cucumber-nagios** runs Cucumber features and outputs the result in the Nagios | ||
plugin format. | ||
|
||
## FILES ## | ||
|
||
The `cucumber-nagios` command expects a path to a Cucumber feature file as the | ||
first argument. The path can be relative or absolute, e.g. | ||
|
||
* `cucumber-nagios features/github.com/login.feature` | ||
* `cucumber-nagios /home/nagios/behavioural/features/example.org/navigation.feature` | ||
|
||
## OPTIONS ## | ||
|
||
* `--debug`: | ||
Output the generated command line used to invoke Cucumber. | ||
* `--pretty`: | ||
Use Cucumber's `pretty` formatter instead of cucumber-nagios's Nagios | ||
formatter. This is useful for debugging your scenarios as you write them. | ||
|
||
## RETURN VALUES ## | ||
|
||
* **0**: all scenarios passed (OK) | ||
* **1**: missing steps (WARNING) | ||
* **2**: scenario failure (CRITICAL) | ||
* **4**: missing feature file (UNKNOWN) | ||
|
||
## AUTHOR ## | ||
|
||
Lindsay Holmwood <[email protected]> | ||
|
||
## COPYRIGHT ## | ||
|
||
cucumber-nagios is MIT licensed. | ||
|
||
Portions of cucumber-nagios contain code originally contributed to Chef | ||
(http://github.com/opscode/chef) | ||
|
||
## SEE ALSO ## | ||
|
||
cucumber-nagios-gen(1), nagios(8) |