aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/doc
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2012-03-13 17:11:54 +0100
committerLukas Larsson <[email protected]>2012-03-20 15:06:19 +0100
commit11908525cfd1f048296ef3718a367d7c34e7cdb4 (patch)
tree0fee18aba78742cd80a3588e9fd2fa7e13533e78 /lib/common_test/doc
parent027456f090fa4d298dd34655d6bb44d2531a135f (diff)
downloadotp-11908525cfd1f048296ef3718a367d7c34e7cdb4.tar.gz
otp-11908525cfd1f048296ef3718a367d7c34e7cdb4.tar.bz2
otp-11908525cfd1f048296ef3718a367d7c34e7cdb4.zip
Add the surefire ct hook
The hook should work with modern versions of Jenkins CI to gather test results.
Diffstat (limited to 'lib/common_test/doc')
-rw-r--r--lib/common_test/doc/src/ct_hooks_chapter.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/common_test/doc/src/ct_hooks_chapter.xml b/lib/common_test/doc/src/ct_hooks_chapter.xml
index 8505ee8469..c5b4fd0073 100644
--- a/lib/common_test/doc/src/ct_hooks_chapter.xml
+++ b/lib/common_test/doc/src/ct_hooks_chapter.xml
@@ -429,6 +429,16 @@ terminate(State) ->
<seealso marker="sasl:sasl_app">SASL</seealso> events report
using the normal SASL mechanisms. </cell>
</row>
+ <row>
+ <cell>cth_surefire</cell>
+ <cell>no</cell>
+ <cell>Captures all test results and outputs them as surefire XML into
+ a file. The file which is created is by default called junit_report.xml.
+ The name can be by setting the path option for this hook. e.g.
+ <code>-ct_hooks cth_surefix [{path,"/tmp/report.xml"}]</code>
+ Surefire XML can forinstance be used by Jenkins to display test
+ results.</cell>
+ </row>
</table>
</section>