diff options
-rw-r--r-- | web/content/development.md | 17 | ||||
-rw-r--r-- | web/content/tests.md | 21 |
2 files changed, 38 insertions, 0 deletions
diff --git a/web/content/development.md b/web/content/development.md index 1b71c24..ddff634 100644 --- a/web/content/development.md +++ b/web/content/development.md | |||
@@ -30,6 +30,21 @@ Apart from the actual code, the [team][team] also maintains the official | |||
30 | contributing to the standard plugins package, or writing your own checks, you | 30 | contributing to the standard plugins package, or writing your own checks, you |
31 | should read them! | 31 | should read them! |
32 | 32 | ||
33 | ## Test Suite | ||
34 | |||
35 | The Nagios Plugins bundle comes with an extensive test suite. Some of the | ||
36 | tests require [libtap][libtap], a copy of which is shipped with the Nagios | ||
37 | Plugins source tarball. In order to execute all tests, issue the following | ||
38 | commands: | ||
39 | |||
40 | $ ./tools/setup # When building from Git. | ||
41 | $ ./configure --enable-libtap | ||
42 | $ make | ||
43 | $ make test | ||
44 | |||
45 | Regular tests of the latest code are scheduled automatically on various | ||
46 | platforms, the results can be [viewed online][tests]. | ||
47 | |||
33 | [team]: team.html "Nagios Plugins Development Team" | 48 | [team]: team.html "Nagios Plugins Development Team" |
34 | [nagios]: http://www.nagios.org/ "Nagios" | 49 | [nagios]: http://www.nagios.org/ "Nagios" |
35 | [github]: https://github.com/ "GitHub" | 50 | [github]: https://github.com/ "GitHub" |
@@ -39,5 +54,7 @@ should read them! | |||
39 | [book]: http://git-scm.com/book "Pro Git" | 54 | [book]: http://git-scm.com/book "Pro Git" |
40 | [git]: http://git-scm.com/ "Git" | 55 | [git]: http://git-scm.com/ "Git" |
41 | [guidelines]: doc/guidelines.html "Nagios Plugin Development Guidelines" | 56 | [guidelines]: doc/guidelines.html "Nagios Plugin Development Guidelines" |
57 | [libtap]: http://jc.ngo.org.uk/trac-bin/trac.cgi/wiki/LibTap "LibTap Homepage" | ||
58 | [tests]: tests.html "Test Results" | ||
42 | 59 | ||
43 | <!--% # vim:set filetype=markdown textwidth=78 joinspaces: # %--> | 60 | <!--% # vim:set filetype=markdown textwidth=78 joinspaces: # %--> |
diff --git a/web/content/tests.md b/web/content/tests.md new file mode 100644 index 0000000..1784368 --- /dev/null +++ b/web/content/tests.md | |||
@@ -0,0 +1,21 @@ | |||
1 | title: Test Results | ||
2 | parent: Development | ||
3 | --- | ||
4 | |||
5 | # Test Results | ||
6 | |||
7 | The following table lists the latest automated test results for various | ||
8 | platforms. The build and test logs can be viewed by following the | ||
9 | corresponding links. | ||
10 | |||
11 | <object data="http://labs.consol.de/nagios-plugins/logs/HEADER.html" style="width: 100%; height: 100ex; overflow: scroll"> | ||
12 | * [Test results][results] | ||
13 | </object> | ||
14 | |||
15 | Thanks go to Sven Nierlein for setting up the tests and to [his | ||
16 | employer][consol] for providing the resources. | ||
17 | |||
18 | [results]: http://labs.consol.de/nagios-plugins/logs/HEADER.html "Test Results" | ||
19 | [consol]: http://www.consol.com/ "ConSol Software GmbH" | ||
20 | |||
21 | <!--% # vim:set filetype=markdown textwidth=78 joinspaces: # %--> | ||