diff --git a/test/xdocs/faq.fml b/test/xdocs/faq.fml new file mode 100644 index 00000000..206e800f --- /dev/null +++ b/test/xdocs/faq.fml @@ -0,0 +1,70 @@ + + + + + + + General + + + + How do I email a test report? + + +

+ The following sample code will email a test report if there are any failures: +

+ + + + + + + + + + + ${systemScope.setProperty('javax.xml.transform.TransformerFactory','org.apache.xalan.processor.TransformerFactoryImpl')} + + + + + + +]]> +

+ Include this in your maven.xml file, and set the property test.mail.report + to true for the users that you want to send the mail from (typically just you continuous + integration environment). +

+

+ Note that you have to include Xalan in your dependencies for this particular example (see the main + Maven FAQ for more information), and provide the + overview-summary.xsl file in your project's base directory. An example one is + distributed with Ant in etc/junit-noframes.xsl. +

+

+ If you want to receive successful reports, exclude the ]]> condition. +

+
+
+
+