You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by st...@apache.org on 2011/07/08 14:46:07 UTC
svn commit: r1144293 -
/maven/surefire/trunk/maven-surefire-plugin/src/site/fml/faq.fml
Author: stephenc
Date: Fri Jul 8 12:46:07 2011
New Revision: 1144293
URL: http://svn.apache.org/viewvc?rev=1144293&view=rev
Log:
we can safely use a single FAQ across both surefire and failsafe
Modified:
maven/surefire/trunk/maven-surefire-plugin/src/site/fml/faq.fml
Modified: maven/surefire/trunk/maven-surefire-plugin/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/maven-surefire-plugin/src/site/fml/faq.fml?rev=1144293&r1=1144292&r2=1144293&view=diff
==============================================================================
--- maven/surefire/trunk/maven-surefire-plugin/src/site/fml/faq.fml (original)
+++ maven/surefire/trunk/maven-surefire-plugin/src/site/fml/faq.fml Fri Jul 8 12:46:07 2011
@@ -25,6 +25,20 @@ under the License.
xsi:schemaLocation="http://maven.apache.org/FML/1.0.1 http://maven.apache.org/xsd/fml-1.0.1.xsd"
id="FAQ" title="Frequently Asked Questions">
<part id="General">
+ <faq id="surefire-v-failsafe">
+ <question>What is the difference between maven-failsafe-plugin and maven-surefire-plugin?</question>
+ <answer>
+ <p>
+ <a href="http://maven.apache.org/plugins/maven-surefire-plugin">maven-surefire-plugin</a>
+ is designed for
+ running unit tests and if any of the tests fail then it will fail the build immediately.
+ </p>
+ <p>
+ maven-failsafe-plugin is designed for running integration tests, and decouples failing the build if there
+ are test failures from actually running the tests.
+ </p>
+ </answer>
+ </faq>
<faq id="reuse-test-code">
<question>How can I reuse my test code in other modules?</question>
<answer>