| 127 | |
| 128 | === `<c:cppunit>` === |
| 129 | |
| 130 | Report the test output generated by the [http://cppunit.sourceforge.net cppunit] unit testing framework. The output from cppunit must be in XML format and in already, specified by the `file` argument of this recipe. |
| 131 | |
| 132 | ==== Parameters ==== |
| 133 | |
| 134 | || Name || Description || |
| 135 | || `file` || Path to the cppunit XML output file. || |
| 136 | |
| 137 | ==== Examples ==== |
| 138 | |
| 139 | {{{ |
| 140 | <sh:exec executable="run_unit_tests" output="test_results.xml" /> |
| 141 | <c:cppunit file="test_results.xml" /> |
| 142 | }}} |
| 143 | |
| 144 | Runs the program `run_unit_tests` to gather the data output by cppunit in the `test_results.xml` file and then reports it. |
| 145 | |