From 11908525cfd1f048296ef3718a367d7c34e7cdb4 Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Tue, 13 Mar 2012 17:11:54 +0100 Subject: Add the surefire ct hook The hook should work with modern versions of Jenkins CI to gather test results. --- lib/common_test/doc/src/ct_hooks_chapter.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/common_test/doc') 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) -> SASL events report using the normal SASL mechanisms. + + cth_surefire + no + 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. + -ct_hooks cth_surefix [{path,"/tmp/report.xml"}] + Surefire XML can forinstance be used by Jenkins to display test + results. + -- cgit v1.2.3