You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2012/12/11 21:54:42 UTC
svn commit: r841782 [8/33] - in
/websites/production/maven/content/surefire-2.13-SNAPSHOT: ./
maven-failsafe-plugin/ maven-surefire-common/ maven-surefire-plugin/
maven-surefire-plugin/css/ maven-surefire-plugin/examples/
maven-surefire-plugin/images/p...
Modified: websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/debugging.html
==============================================================================
--- websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/debugging.html (original)
+++ websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/debugging.html Tue Dec 11 20:53:56 2012
@@ -1,14 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at Dec 11, 2012 -->
+<!--
+ | Generated by Apache Maven Doxia at Dec 11, 2012
+ | Rendered using Apache Maven Fluido Skin 1.2.2
+-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Maven Surefire Plugin - Debugging Tests</title>
<link rel="stylesheet" href="../css/apache-maven-fluido.min.css" />
<link rel="stylesheet" href="../css/site.css" />
<link rel="stylesheet" href="../css/print.css" media="print" />
- <style>body{padding-top: 20px;}</style>
-
+
+
<script type="text/javascript" src="../js/apache-maven-fluido.min.js"></script>
@@ -25,57 +29,61 @@
<meta name="Date-Creation-yyyymmdd" content="20100109" />
<meta name="Date-Revision-yyyymmdd" content="20121211" />
<meta http-equiv="Content-Language" content="en" />
-
- </head>
- <body>
+ </head>
+ <body class="topBarDisabled">
+
<div class="container-fluid">
- <div id="banner">
- <div class="pull-left"> <a href="../../../" id="bannerLeft">
- <img src="../../../images/apache-maven-project.png" alt="Maven Surefire Plugin"/>
+ <div id="banner">
+ <div class="pull-left">
+ <a href="../../../" id="bannerLeft">
+ <img src="../../../images/apache-maven-project.png" alt="SureFire"/>
</a>
- </div>
+ </div>
<div class="pull-right"> <div id="bannerRight">
- <img src="../../../images/maventxt_logo_200.gif" alt="Maven Surefire Plugin"/>
+ <img src="../../../images/maventxt_logo_200.gif" />
</div>
</div>
<div class="clear"><hr/></div>
</div>
-
+
<div id="breadcrumbs">
<ul class="breadcrumb">
-
+
<li class="">
<a href="http://www.apache.org/" class="externalLink" title="Apache">Apache</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../../../index.html" title="Maven">Maven</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../../" title="Surefire">Surefire</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../" title="Maven Surefire Plugin">Maven Surefire Plugin</a>
- <li class="divider ">/</li>
- </li>
- <li class="">Maven Surefire Plugin - Debugging Tests</li>
-
+ </li>
+ <li class="divider ">/</li>
+ <li class="">Debugging Tests</li>
+
+
<li id="publishDate" class="pull-right">Last Published: 2012-12-11</li> <li class="divider pull-right">|</li>
<li id="projectVersion" class="pull-right">Version: 2.13-SNAPSHOT</li>
- </ul>
+
+ </ul>
</div>
- <div id="leftColumn" class="sidebar">
- <div class="well">
-
+ <div class="row-fluid">
+ <div id="leftColumn" class="span2">
+ <div class="well sidebar-nav">
- <h5>Overview</h5>
+
+ <h3>Overview</h3>
<ul>
<li class="none">
<a href="../index.html" title="Introduction">Introduction</a>
@@ -96,7 +104,7 @@
<a href="../faq.html" title="FAQ">FAQ</a>
</li>
</ul>
- <h5>Examples</h5>
+ <h3>Examples</h3>
<ul>
<li class="none">
<a href="../examples/testng.html" title="Using TestNG">Using TestNG</a>
@@ -129,22 +137,22 @@
<a href="../examples/providers.html" title="Selecting providers">Selecting providers</a>
</li>
</ul>
- <h5>Developer Center</h5>
+ <h3>Developer Center</h3>
<ul>
<li class="none">
<a href="../developing.html" title="Developing">Developing</a>
</li>
</ul>
- <h5>Project Documentation</h5>
+ <h3>Project Documentation</h3>
<ul>
- <li class="collapsed">
+ <li class="collapsed">
<a href="../project-info.html" title="Project Information">Project Information</a>
</li>
<li class="collapsed">
<a href="../project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
- <h5>Maven Projects</h5>
+ <h3>Maven Projects</h3>
<ul>
<li class="none">
<a href="../../../ant-tasks/index.html" title="Ant Tasks">Ant Tasks</a>
@@ -183,7 +191,7 @@
<a href="../../../wagon/index.html" title="Wagon">Wagon</a>
</li>
</ul>
- <h5>ASF</h5>
+ <h3>ASF</h3>
<ul>
<li class="none">
<a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works">How Apache Works</a>
@@ -199,34 +207,40 @@
</li>
</ul>
+
-
-
- <div id="poweredBy">
- <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <hr class="divider" />
+
+ <div id="poweredBy">
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" />
</a>
- </div>
+ </div>
+ </div>
</div>
- </div>
-
- <div id="bodyColumn" class="content">
- <div id="contentBox">
-
- <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/refer
ences/apt-format.html --><div class="section"><h2>Debugging Tests<a name="Debugging_Tests"></a></h2><p>Sometimes you need to debug the tests exactly as Maven ran them. Here's how!</p></div><div class="section"><h2>Forked Tests<a name="Forked_Tests"></a></h2><p>By default, Maven runs your tests in a separate ("forked") process. You can use the <tt>maven.surefire.debug</tt> property to debug your forked tests remotely, like this:</p><div class="source"><pre class="prettyprint">mvn -Dmaven.surefire.debug test</pre></div><p>The tests will automatically pause and await a remote debugger on port 5005. You can then attach to the running tests using Eclipse. You can setup a "Remote Java Application" launch configuration via the menu command "Run" > "Open Debug Dialog..."</p><p>If you need to configure a different port, you may pass a more detailed value. For example, the command below will use port 8000 instead of port 5005.</p><div class="
source"><pre class="prettyprint">mvn -Dmaven.surefire.debug="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -Xnoagent -Djava.compiler=NONE" test</pre></div></div><div class="section"><h2>Non-forked Tests<a name="Non-forked_Tests"></a></h2><p>You can force Maven not to fork tests by configuring the <tt>forkMode</tt> configuration parameter.</p><div class="source"><pre class="prettyprint">mvn -DforkMode=never test</pre></div><p>Then all you need to do is debug Maven itself. Since Maven 2.0.8, Maven has shipped with a "mvnDebug" shell script that you can use to launch Maven with convenient debugging options:</p><div class="source"><pre class="prettyprint">mvnDebug -DforkMode=never test</pre></div><p>Then you can attach Eclipse to Maven itself, which may be easier/more convenient than debugging the forked executable.</p></div>
+
+ <div id="bodyColumn" class="span10" >
+
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/ref
erences/apt-format.html --><div class="section"><h2>Debugging Tests<a name="Debugging_Tests"></a></h2><p>Sometimes you need to debug the tests exactly as Maven ran them. Here's how!</p></div><div class="section"><h2>Forked Tests<a name="Forked_Tests"></a></h2><p>By default, Maven runs your tests in a separate ("forked") process. You can use the <tt>maven.surefire.debug</tt> property to debug your forked tests remotely, like this:</p><div class="source"><pre class="prettyprint">mvn -Dmaven.surefire.debug test</pre></div><p>The tests will automatically pause and await a remote debugger on port 5005. You can then attach to the running tests using Eclipse. You can setup a "Remote Java Application" launch configuration via the menu command "Run" > "Open Debug Dialog..."</p><p>If you need to configure a different port, you may pass a more detailed value. For example, the command below will use port 8000 instead of port 5005.</p><div class
="source"><pre class="prettyprint">mvn -Dmaven.surefire.debug="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -Xnoagent -Djava.compiler=NONE" test</pre></div></div><div class="section"><h2>Non-forked Tests<a name="Non-forked_Tests"></a></h2><p>You can force Maven not to fork tests by configuring the <tt>forkMode</tt> configuration parameter.</p><div class="source"><pre class="prettyprint">mvn -DforkMode=never test</pre></div><p>Then all you need to do is debug Maven itself. Since Maven 2.0.8, Maven has shipped with a "mvnDebug" shell script that you can use to launch Maven with convenient debugging options:</p><div class="source"><pre class="prettyprint">mvnDebug -DforkMode=never test</pre></div><p>Then you can attach Eclipse to Maven itself, which may be easier/more convenient than debugging the forked executable.</p></div>
</div>
- </div>
- </div>
+ </div>
+
+ <hr/>
- <footer class="footer">
+ <footer>
<div class="container-fluid">
- <div class="row span16">Copyright © 2004-2012
+ <div class="row span12">Copyright © 2004-2012
<a href="http://www.apache.org/">The Apache Software Foundation</a>.
All Rights Reserved.
-
+
</div>
- </div>
+
+
+ </div>
</footer>
</body>
</html>
\ No newline at end of file
Modified: websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/inclusion-exclusion.html
==============================================================================
--- websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/inclusion-exclusion.html (original)
+++ websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/inclusion-exclusion.html Tue Dec 11 20:53:56 2012
@@ -1,14 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at Dec 11, 2012 -->
+<!--
+ | Generated by Apache Maven Doxia at Dec 11, 2012
+ | Rendered using Apache Maven Fluido Skin 1.2.2
+-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Maven Surefire Plugin - Inclusions and Exclusions of Tests</title>
<link rel="stylesheet" href="../css/apache-maven-fluido.min.css" />
<link rel="stylesheet" href="../css/site.css" />
<link rel="stylesheet" href="../css/print.css" media="print" />
- <style>body{padding-top: 20px;}</style>
-
+
+
<script type="text/javascript" src="../js/apache-maven-fluido.min.js"></script>
@@ -25,57 +29,61 @@
<meta name="Date-Creation-yyyymmdd" content="20100109" />
<meta name="Date-Revision-yyyymmdd" content="20121211" />
<meta http-equiv="Content-Language" content="en" />
-
- </head>
- <body>
+ </head>
+ <body class="topBarDisabled">
+
<div class="container-fluid">
- <div id="banner">
- <div class="pull-left"> <a href="../../../" id="bannerLeft">
- <img src="../../../images/apache-maven-project.png" alt="Maven Surefire Plugin"/>
+ <div id="banner">
+ <div class="pull-left">
+ <a href="../../../" id="bannerLeft">
+ <img src="../../../images/apache-maven-project.png" alt="SureFire"/>
</a>
- </div>
+ </div>
<div class="pull-right"> <div id="bannerRight">
- <img src="../../../images/maventxt_logo_200.gif" alt="Maven Surefire Plugin"/>
+ <img src="../../../images/maventxt_logo_200.gif" />
</div>
</div>
<div class="clear"><hr/></div>
</div>
-
+
<div id="breadcrumbs">
<ul class="breadcrumb">
-
+
<li class="">
<a href="http://www.apache.org/" class="externalLink" title="Apache">Apache</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../../../index.html" title="Maven">Maven</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../../" title="Surefire">Surefire</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../" title="Maven Surefire Plugin">Maven Surefire Plugin</a>
- <li class="divider ">/</li>
- </li>
- <li class="">Maven Surefire Plugin - Inclusions and Exclusions of Tests</li>
-
+ </li>
+ <li class="divider ">/</li>
+ <li class="">Inclusions and Exclusions of Tests</li>
+
+
<li id="publishDate" class="pull-right">Last Published: 2012-12-11</li> <li class="divider pull-right">|</li>
<li id="projectVersion" class="pull-right">Version: 2.13-SNAPSHOT</li>
- </ul>
+
+ </ul>
</div>
- <div id="leftColumn" class="sidebar">
- <div class="well">
-
+ <div class="row-fluid">
+ <div id="leftColumn" class="span2">
+ <div class="well sidebar-nav">
- <h5>Overview</h5>
+
+ <h3>Overview</h3>
<ul>
<li class="none">
<a href="../index.html" title="Introduction">Introduction</a>
@@ -96,7 +104,7 @@
<a href="../faq.html" title="FAQ">FAQ</a>
</li>
</ul>
- <h5>Examples</h5>
+ <h3>Examples</h3>
<ul>
<li class="none">
<a href="../examples/testng.html" title="Using TestNG">Using TestNG</a>
@@ -129,22 +137,22 @@
<a href="../examples/providers.html" title="Selecting providers">Selecting providers</a>
</li>
</ul>
- <h5>Developer Center</h5>
+ <h3>Developer Center</h3>
<ul>
<li class="none">
<a href="../developing.html" title="Developing">Developing</a>
</li>
</ul>
- <h5>Project Documentation</h5>
+ <h3>Project Documentation</h3>
<ul>
- <li class="collapsed">
+ <li class="collapsed">
<a href="../project-info.html" title="Project Information">Project Information</a>
</li>
<li class="collapsed">
<a href="../project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
- <h5>Maven Projects</h5>
+ <h3>Maven Projects</h3>
<ul>
<li class="none">
<a href="../../../ant-tasks/index.html" title="Ant Tasks">Ant Tasks</a>
@@ -183,7 +191,7 @@
<a href="../../../wagon/index.html" title="Wagon">Wagon</a>
</li>
</ul>
- <h5>ASF</h5>
+ <h3>ASF</h3>
<ul>
<li class="none">
<a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works">How Apache Works</a>
@@ -199,21 +207,24 @@
</li>
</ul>
+
-
-
- <div id="poweredBy">
- <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <hr class="divider" />
+
+ <div id="poweredBy">
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" />
</a>
- </div>
+ </div>
+ </div>
</div>
- </div>
-
- <div id="bodyColumn" class="content">
- <div id="contentBox">
-
- <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/refer
ences/apt-format.html --><div class="section"><h2>Inclusions and Exclusions of Tests<a name="Inclusions_and_Exclusions_of_Tests"></a></h2><div class="section"><h3>Inclusions<a name="Inclusions"></a></h3><p>By default, the Surefire Plugin will automatically include all test classes with the following wildcard patterns:</p><ul><li><tt>"**/Test*.java"</tt> - includes all of its subdirectories and all java filenames that start with "Test".</li><li><tt>"**/*Test.java"</tt> - includes all of its subdirectories and all java filenames that end with "Test".</li><li><tt>"**/*TestCase.java"</tt> - includes all of its subdirectories and all java filenames that end with "TestCase".</li></ul><p>If the test classes does not go with the naming convention, then configure Surefire Plugin and specify the tests you want to include.</p><div class="source"><pre class="prettyprint"><project>
+
+ <div id="bodyColumn" class="span10" >
+
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/ref
erences/apt-format.html --><div class="section"><h2>Inclusions and Exclusions of Tests<a name="Inclusions_and_Exclusions_of_Tests"></a></h2><div class="section"><h3>Inclusions<a name="Inclusions"></a></h3><p>By default, the Surefire Plugin will automatically include all test classes with the following wildcard patterns:</p><ul><li><tt>"**/Test*.java"</tt> - includes all of its subdirectories and all java filenames that start with "Test".</li><li><tt>"**/*Test.java"</tt> - includes all of its subdirectories and all java filenames that end with "Test".</li><li><tt>"**/*TestCase.java"</tt> - includes all of its subdirectories and all java filenames that end with "TestCase".</li></ul><p>If the test classes does not go with the naming convention, then configure Surefire Plugin and specify the tests you want to include.</p><div class="source"><pre class="prettyprint"><project>
[...]
<build>
<plugins>
@@ -267,18 +278,21 @@
[...]
</project></pre></div><p>Note the syntax %regex[expr], where expr is the actual expression and the rest is just wrapping. Also note that regex matches are done over .class files and not .java files.</p></div></div>
</div>
- </div>
- </div>
+ </div>
+
+ <hr/>
- <footer class="footer">
+ <footer>
<div class="container-fluid">
- <div class="row span16">Copyright © 2004-2012
+ <div class="row span12">Copyright © 2004-2012
<a href="http://www.apache.org/">The Apache Software Foundation</a>.
All Rights Reserved.
-
+
</div>
- </div>
+
+
+ </div>
</footer>
</body>
</html>
\ No newline at end of file
Modified: websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/junit.html
==============================================================================
--- websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/junit.html (original)
+++ websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/junit.html Tue Dec 11 20:53:56 2012
@@ -1,14 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at Dec 11, 2012 -->
+<!--
+ | Generated by Apache Maven Doxia at Dec 11, 2012
+ | Rendered using Apache Maven Fluido Skin 1.2.2
+-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Maven Surefire Plugin - Using JUnit</title>
<link rel="stylesheet" href="../css/apache-maven-fluido.min.css" />
<link rel="stylesheet" href="../css/site.css" />
<link rel="stylesheet" href="../css/print.css" media="print" />
- <style>body{padding-top: 20px;}</style>
-
+
+
<script type="text/javascript" src="../js/apache-maven-fluido.min.js"></script>
@@ -25,57 +29,61 @@
<meta name="Date-Creation-yyyymmdd" content="20101010" />
<meta name="Date-Revision-yyyymmdd" content="20121211" />
<meta http-equiv="Content-Language" content="en" />
-
- </head>
- <body>
+ </head>
+ <body class="topBarDisabled">
+
<div class="container-fluid">
- <div id="banner">
- <div class="pull-left"> <a href="../../../" id="bannerLeft">
- <img src="../../../images/apache-maven-project.png" alt="Maven Surefire Plugin"/>
+ <div id="banner">
+ <div class="pull-left">
+ <a href="../../../" id="bannerLeft">
+ <img src="../../../images/apache-maven-project.png" alt="SureFire"/>
</a>
- </div>
+ </div>
<div class="pull-right"> <div id="bannerRight">
- <img src="../../../images/maventxt_logo_200.gif" alt="Maven Surefire Plugin"/>
+ <img src="../../../images/maventxt_logo_200.gif" />
</div>
</div>
<div class="clear"><hr/></div>
</div>
-
+
<div id="breadcrumbs">
<ul class="breadcrumb">
-
+
<li class="">
<a href="http://www.apache.org/" class="externalLink" title="Apache">Apache</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../../../index.html" title="Maven">Maven</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../../" title="Surefire">Surefire</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../" title="Maven Surefire Plugin">Maven Surefire Plugin</a>
- <li class="divider ">/</li>
- </li>
- <li class="">Maven Surefire Plugin - Using JUnit</li>
-
+ </li>
+ <li class="divider ">/</li>
+ <li class="">Using JUnit</li>
+
+
<li id="publishDate" class="pull-right">Last Published: 2012-12-11</li> <li class="divider pull-right">|</li>
<li id="projectVersion" class="pull-right">Version: 2.13-SNAPSHOT</li>
- </ul>
+
+ </ul>
</div>
- <div id="leftColumn" class="sidebar">
- <div class="well">
-
+ <div class="row-fluid">
+ <div id="leftColumn" class="span2">
+ <div class="well sidebar-nav">
- <h5>Overview</h5>
+
+ <h3>Overview</h3>
<ul>
<li class="none">
<a href="../index.html" title="Introduction">Introduction</a>
@@ -96,7 +104,7 @@
<a href="../faq.html" title="FAQ">FAQ</a>
</li>
</ul>
- <h5>Examples</h5>
+ <h3>Examples</h3>
<ul>
<li class="none">
<a href="../examples/testng.html" title="Using TestNG">Using TestNG</a>
@@ -129,22 +137,22 @@
<a href="../examples/providers.html" title="Selecting providers">Selecting providers</a>
</li>
</ul>
- <h5>Developer Center</h5>
+ <h3>Developer Center</h3>
<ul>
<li class="none">
<a href="../developing.html" title="Developing">Developing</a>
</li>
</ul>
- <h5>Project Documentation</h5>
+ <h3>Project Documentation</h3>
<ul>
- <li class="collapsed">
+ <li class="collapsed">
<a href="../project-info.html" title="Project Information">Project Information</a>
</li>
<li class="collapsed">
<a href="../project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
- <h5>Maven Projects</h5>
+ <h3>Maven Projects</h3>
<ul>
<li class="none">
<a href="../../../ant-tasks/index.html" title="Ant Tasks">Ant Tasks</a>
@@ -183,7 +191,7 @@
<a href="../../../wagon/index.html" title="Wagon">Wagon</a>
</li>
</ul>
- <h5>ASF</h5>
+ <h3>ASF</h3>
<ul>
<li class="none">
<a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works">How Apache Works</a>
@@ -199,21 +207,24 @@
</li>
</ul>
+
-
-
- <div id="poweredBy">
- <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <hr class="divider" />
+
+ <div id="poweredBy">
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" />
</a>
- </div>
+ </div>
+ </div>
</div>
- </div>
-
- <div id="bodyColumn" class="content">
- <div id="contentBox">
-
- <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/refer
ences/apt-format.html --><div class="section"><h2>Using JUnit<a name="Using_JUnit"></a></h2><div class="section"><h3>Configuring JUnit<a name="Configuring_JUnit"></a></h3><p>To get started with JUnit, you need to add the required version of JUnit to your project:</p><div class="source"><pre class="prettyprint"><dependencies>
+
+ <div id="bodyColumn" class="span10" >
+
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/ref
erences/apt-format.html --><div class="section"><h2>Using JUnit<a name="Using_JUnit"></a></h2><div class="section"><h3>Configuring JUnit<a name="Configuring_JUnit"></a></h3><p>To get started with JUnit, you need to add the required version of JUnit to your project:</p><div class="source"><pre class="prettyprint"><dependencies>
[...]
<dependency>
<groupId>junit</groupId>
@@ -324,18 +335,21 @@ else
}
}</pre></div><p>The @Category annotation can also be applied at class-level.</p><p>For more information on JUnit, see the <a class="externalLink" href="http://www.junit.org">JUnit web site</a>.</p></div></div>
</div>
- </div>
- </div>
+ </div>
+
+ <hr/>
- <footer class="footer">
+ <footer>
<div class="container-fluid">
- <div class="row span16">Copyright © 2004-2012
+ <div class="row span12">Copyright © 2004-2012
<a href="http://www.apache.org/">The Apache Software Foundation</a>.
All Rights Reserved.
-
+
</div>
- </div>
+
+
+ </div>
</footer>
</body>
</html>
\ No newline at end of file
Modified: websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/pojo-test.html
==============================================================================
--- websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/pojo-test.html (original)
+++ websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/pojo-test.html Tue Dec 11 20:53:56 2012
@@ -1,14 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at Dec 11, 2012 -->
+<!--
+ | Generated by Apache Maven Doxia at Dec 11, 2012
+ | Rendered using Apache Maven Fluido Skin 1.2.2
+-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Maven Surefire Plugin - Using POJO tests</title>
<link rel="stylesheet" href="../css/apache-maven-fluido.min.css" />
<link rel="stylesheet" href="../css/site.css" />
<link rel="stylesheet" href="../css/print.css" media="print" />
- <style>body{padding-top: 20px;}</style>
-
+
+
<script type="text/javascript" src="../js/apache-maven-fluido.min.js"></script>
@@ -24,57 +28,61 @@
<meta name="author" content="Christian Gruber" />
<meta name="Date-Revision-yyyymmdd" content="20121211" />
<meta http-equiv="Content-Language" content="en" />
-
- </head>
- <body>
+ </head>
+ <body class="topBarDisabled">
+
<div class="container-fluid">
- <div id="banner">
- <div class="pull-left"> <a href="../../../" id="bannerLeft">
- <img src="../../../images/apache-maven-project.png" alt="Maven Surefire Plugin"/>
+ <div id="banner">
+ <div class="pull-left">
+ <a href="../../../" id="bannerLeft">
+ <img src="../../../images/apache-maven-project.png" alt="SureFire"/>
</a>
- </div>
+ </div>
<div class="pull-right"> <div id="bannerRight">
- <img src="../../../images/maventxt_logo_200.gif" alt="Maven Surefire Plugin"/>
+ <img src="../../../images/maventxt_logo_200.gif" />
</div>
</div>
<div class="clear"><hr/></div>
</div>
-
+
<div id="breadcrumbs">
<ul class="breadcrumb">
-
+
<li class="">
<a href="http://www.apache.org/" class="externalLink" title="Apache">Apache</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../../../index.html" title="Maven">Maven</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../../" title="Surefire">Surefire</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../" title="Maven Surefire Plugin">Maven Surefire Plugin</a>
- <li class="divider ">/</li>
- </li>
- <li class="">Maven Surefire Plugin - Using POJO tests</li>
-
+ </li>
+ <li class="divider ">/</li>
+ <li class="">Using POJO tests</li>
+
+
<li id="publishDate" class="pull-right">Last Published: 2012-12-11</li> <li class="divider pull-right">|</li>
<li id="projectVersion" class="pull-right">Version: 2.13-SNAPSHOT</li>
- </ul>
+
+ </ul>
</div>
- <div id="leftColumn" class="sidebar">
- <div class="well">
-
+ <div class="row-fluid">
+ <div id="leftColumn" class="span2">
+ <div class="well sidebar-nav">
- <h5>Overview</h5>
+
+ <h3>Overview</h3>
<ul>
<li class="none">
<a href="../index.html" title="Introduction">Introduction</a>
@@ -95,7 +103,7 @@
<a href="../faq.html" title="FAQ">FAQ</a>
</li>
</ul>
- <h5>Examples</h5>
+ <h3>Examples</h3>
<ul>
<li class="none">
<a href="../examples/testng.html" title="Using TestNG">Using TestNG</a>
@@ -128,22 +136,22 @@
<a href="../examples/providers.html" title="Selecting providers">Selecting providers</a>
</li>
</ul>
- <h5>Developer Center</h5>
+ <h3>Developer Center</h3>
<ul>
<li class="none">
<a href="../developing.html" title="Developing">Developing</a>
</li>
</ul>
- <h5>Project Documentation</h5>
+ <h3>Project Documentation</h3>
<ul>
- <li class="collapsed">
+ <li class="collapsed">
<a href="../project-info.html" title="Project Information">Project Information</a>
</li>
<li class="collapsed">
<a href="../project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
- <h5>Maven Projects</h5>
+ <h3>Maven Projects</h3>
<ul>
<li class="none">
<a href="../../../ant-tasks/index.html" title="Ant Tasks">Ant Tasks</a>
@@ -182,7 +190,7 @@
<a href="../../../wagon/index.html" title="Wagon">Wagon</a>
</li>
</ul>
- <h5>ASF</h5>
+ <h3>ASF</h3>
<ul>
<li class="none">
<a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works">How Apache Works</a>
@@ -198,35 +206,41 @@
</li>
</ul>
+
-
-
- <div id="poweredBy">
- <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <hr class="divider" />
+
+ <div id="poweredBy">
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" />
</a>
- </div>
+ </div>
+ </div>
</div>
- </div>
-
- <div id="bodyColumn" class="content">
- <div id="contentBox">
-
- <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/refer
ences/apt-format.html --><div class="section"><h2>Defining a POJO Test<a name="Defining_a_POJO_Test"></a></h2><p>POJO tests look very much like JUnit or TestNG tests, though they do not require dependencies on these artifacts. A test class should be named <tt>**/*Test</tt> and should contain <tt>test*</tt> methods which will each be executed by surefire. </p><p>Validating assertions can be done using the JDK 1.4 <tt>assert</tt> keyword. Simultaneous test execution is not possible with POJO tests.</p><p>Fixture can be setup before and after each <tt>test*</tt> method by implementing a set-up and a tear-down method. These methods must match these signatures to be recognized and executed before and after each test method.</p><div class="source"><pre class="prettyprint">public void setUp();
+
+ <div id="bodyColumn" class="span10" >
+
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/ref
erences/apt-format.html --><div class="section"><h2>Defining a POJO Test<a name="Defining_a_POJO_Test"></a></h2><p>POJO tests look very much like JUnit or TestNG tests, though they do not require dependencies on these artifacts. A test class should be named <tt>**/*Test</tt> and should contain <tt>test*</tt> methods which will each be executed by surefire. </p><p>Validating assertions can be done using the JDK 1.4 <tt>assert</tt> keyword. Simultaneous test execution is not possible with POJO tests.</p><p>Fixture can be setup before and after each <tt>test*</tt> method by implementing a set-up and a tear-down method. These methods must match these signatures to be recognized and executed before and after each test method.</p><div class="source"><pre class="prettyprint">public void setUp();
public void tearDown();</pre></div><p>These fixture methods can also throw any exception and will still be valid.</p></div>
</div>
- </div>
- </div>
+ </div>
+
+ <hr/>
- <footer class="footer">
+ <footer>
<div class="container-fluid">
- <div class="row span16">Copyright © 2004-2012
+ <div class="row span12">Copyright © 2004-2012
<a href="http://www.apache.org/">The Apache Software Foundation</a>.
All Rights Reserved.
-
+
</div>
- </div>
+
+
+ </div>
</footer>
</body>
</html>
\ No newline at end of file
Modified: websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/providers.html
==============================================================================
--- websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/providers.html (original)
+++ websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/providers.html Tue Dec 11 20:53:56 2012
@@ -1,14 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at Dec 11, 2012 -->
+<!--
+ | Generated by Apache Maven Doxia at Dec 11, 2012
+ | Rendered using Apache Maven Fluido Skin 1.2.2
+-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Maven Surefire Plugin - Selecting providers</title>
<link rel="stylesheet" href="../css/apache-maven-fluido.min.css" />
<link rel="stylesheet" href="../css/site.css" />
<link rel="stylesheet" href="../css/print.css" media="print" />
- <style>body{padding-top: 20px;}</style>
-
+
+
<script type="text/javascript" src="../js/apache-maven-fluido.min.js"></script>
@@ -25,57 +29,61 @@
<meta name="Date-Creation-yyyymmdd" content="20101204" />
<meta name="Date-Revision-yyyymmdd" content="20121211" />
<meta http-equiv="Content-Language" content="en" />
-
- </head>
- <body>
+ </head>
+ <body class="topBarDisabled">
+
<div class="container-fluid">
- <div id="banner">
- <div class="pull-left"> <a href="../../../" id="bannerLeft">
- <img src="../../../images/apache-maven-project.png" alt="Maven Surefire Plugin"/>
+ <div id="banner">
+ <div class="pull-left">
+ <a href="../../../" id="bannerLeft">
+ <img src="../../../images/apache-maven-project.png" alt="SureFire"/>
</a>
- </div>
+ </div>
<div class="pull-right"> <div id="bannerRight">
- <img src="../../../images/maventxt_logo_200.gif" alt="Maven Surefire Plugin"/>
+ <img src="../../../images/maventxt_logo_200.gif" />
</div>
</div>
<div class="clear"><hr/></div>
</div>
-
+
<div id="breadcrumbs">
<ul class="breadcrumb">
-
+
<li class="">
<a href="http://www.apache.org/" class="externalLink" title="Apache">Apache</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../../../index.html" title="Maven">Maven</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../../" title="Surefire">Surefire</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../" title="Maven Surefire Plugin">Maven Surefire Plugin</a>
- <li class="divider ">/</li>
- </li>
- <li class="">Maven Surefire Plugin - Selecting providers</li>
-
+ </li>
+ <li class="divider ">/</li>
+ <li class="">Selecting providers</li>
+
+
<li id="publishDate" class="pull-right">Last Published: 2012-12-11</li> <li class="divider pull-right">|</li>
<li id="projectVersion" class="pull-right">Version: 2.13-SNAPSHOT</li>
- </ul>
+
+ </ul>
</div>
- <div id="leftColumn" class="sidebar">
- <div class="well">
-
+ <div class="row-fluid">
+ <div id="leftColumn" class="span2">
+ <div class="well sidebar-nav">
- <h5>Overview</h5>
+
+ <h3>Overview</h3>
<ul>
<li class="none">
<a href="../index.html" title="Introduction">Introduction</a>
@@ -96,7 +104,7 @@
<a href="../faq.html" title="FAQ">FAQ</a>
</li>
</ul>
- <h5>Examples</h5>
+ <h3>Examples</h3>
<ul>
<li class="none">
<a href="../examples/testng.html" title="Using TestNG">Using TestNG</a>
@@ -129,22 +137,22 @@
<strong>Selecting providers</strong>
</li>
</ul>
- <h5>Developer Center</h5>
+ <h3>Developer Center</h3>
<ul>
<li class="none">
<a href="../developing.html" title="Developing">Developing</a>
</li>
</ul>
- <h5>Project Documentation</h5>
+ <h3>Project Documentation</h3>
<ul>
- <li class="collapsed">
+ <li class="collapsed">
<a href="../project-info.html" title="Project Information">Project Information</a>
</li>
<li class="collapsed">
<a href="../project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
- <h5>Maven Projects</h5>
+ <h3>Maven Projects</h3>
<ul>
<li class="none">
<a href="../../../ant-tasks/index.html" title="Ant Tasks">Ant Tasks</a>
@@ -183,7 +191,7 @@
<a href="../../../wagon/index.html" title="Wagon">Wagon</a>
</li>
</ul>
- <h5>ASF</h5>
+ <h3>ASF</h3>
<ul>
<li class="none">
<a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works">How Apache Works</a>
@@ -199,21 +207,24 @@
</li>
</ul>
+
-
-
- <div id="poweredBy">
- <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <hr class="divider" />
+
+ <div id="poweredBy">
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" />
</a>
- </div>
+ </div>
+ </div>
</div>
- </div>
-
- <div id="bodyColumn" class="content">
- <div id="contentBox">
-
- <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/refer
ences/apt-format.html --><div class="section"><h2>Selecting providers<a name="Selecting_providers"></a></h2><div class="section"><h3>Selecting a provider<a name="Selecting_a_provider"></a></h3><p>Surefire normally automatically selects which test-framework provider to use based on the version of TestNG/JUnit present in your project's classpath. In some cases it may be desirable to manually override such a selection. This can be done by adding the required provider as a dependency to the surefire-plugin.</p><p>The following example shows how to force the junit 4.7 provider:</p><div class="source"><pre class="prettyprint"><plugins>
+
+ <div id="bodyColumn" class="span10" >
+
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/ref
erences/apt-format.html --><div class="section"><h2>Selecting providers<a name="Selecting_providers"></a></h2><div class="section"><h3>Selecting a provider<a name="Selecting_a_provider"></a></h3><p>Surefire normally automatically selects which test-framework provider to use based on the version of TestNG/JUnit present in your project's classpath. In some cases it may be desirable to manually override such a selection. This can be done by adding the required provider as a dependency to the surefire-plugin.</p><p>The following example shows how to force the junit 4.7 provider:</p><div class="source"><pre class="prettyprint"><plugins>
[...]
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -230,18 +241,21 @@
[...]
</plugins></pre></div><p>The providers supplied with surefire are surefire-junit3, surefire-junit4, surefire-junit47 and surefire-testng. Please note that forcing a provider still requires that the test framework is properly set up on your project classpath.</p><p>You can also specify multiple providers as dependencies, and they will all be run and produce a common report. This may be especially handy with external providers, since there are few use-cases for combining the included providers.</p></div></div>
</div>
- </div>
- </div>
+ </div>
+
+ <hr/>
- <footer class="footer">
+ <footer>
<div class="container-fluid">
- <div class="row span16">Copyright © 2004-2012
+ <div class="row span12">Copyright © 2004-2012
<a href="http://www.apache.org/">The Apache Software Foundation</a>.
All Rights Reserved.
-
+
</div>
- </div>
+
+
+ </div>
</footer>
</body>
</html>
\ No newline at end of file
Modified: websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/single-test.html
==============================================================================
--- websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/single-test.html (original)
+++ websites/production/maven/content/surefire-2.13-SNAPSHOT/maven-surefire-plugin/examples/single-test.html Tue Dec 11 20:53:56 2012
@@ -1,14 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!-- Generated by Apache Maven Doxia at Dec 11, 2012 -->
+<!--
+ | Generated by Apache Maven Doxia at Dec 11, 2012
+ | Rendered using Apache Maven Fluido Skin 1.2.2
+-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Maven Surefire Plugin - Running a Single Test</title>
<link rel="stylesheet" href="../css/apache-maven-fluido.min.css" />
<link rel="stylesheet" href="../css/site.css" />
<link rel="stylesheet" href="../css/print.css" media="print" />
- <style>body{padding-top: 20px;}</style>
-
+
+
<script type="text/javascript" src="../js/apache-maven-fluido.min.js"></script>
@@ -26,57 +30,61 @@ Olivier Lamy" />
<meta name="Date-Creation-yyyymmdd" content="20120228" />
<meta name="Date-Revision-yyyymmdd" content="20121211" />
<meta http-equiv="Content-Language" content="en" />
-
- </head>
- <body>
+ </head>
+ <body class="topBarDisabled">
+
<div class="container-fluid">
- <div id="banner">
- <div class="pull-left"> <a href="../../../" id="bannerLeft">
- <img src="../../../images/apache-maven-project.png" alt="Maven Surefire Plugin"/>
+ <div id="banner">
+ <div class="pull-left">
+ <a href="../../../" id="bannerLeft">
+ <img src="../../../images/apache-maven-project.png" alt="SureFire"/>
</a>
- </div>
+ </div>
<div class="pull-right"> <div id="bannerRight">
- <img src="../../../images/maventxt_logo_200.gif" alt="Maven Surefire Plugin"/>
+ <img src="../../../images/maventxt_logo_200.gif" />
</div>
</div>
<div class="clear"><hr/></div>
</div>
-
+
<div id="breadcrumbs">
<ul class="breadcrumb">
-
+
<li class="">
<a href="http://www.apache.org/" class="externalLink" title="Apache">Apache</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../../../index.html" title="Maven">Maven</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../../" title="Surefire">Surefire</a>
- <li class="divider ">/</li>
- </li>
+ </li>
+ <li class="divider ">/</li>
<li class="">
<a href="../" title="Maven Surefire Plugin">Maven Surefire Plugin</a>
- <li class="divider ">/</li>
- </li>
- <li class="">Maven Surefire Plugin - Running a Single Test</li>
-
+ </li>
+ <li class="divider ">/</li>
+ <li class="">Running a Single Test</li>
+
+
<li id="publishDate" class="pull-right">Last Published: 2012-12-11</li> <li class="divider pull-right">|</li>
<li id="projectVersion" class="pull-right">Version: 2.13-SNAPSHOT</li>
- </ul>
+
+ </ul>
</div>
- <div id="leftColumn" class="sidebar">
- <div class="well">
-
+ <div class="row-fluid">
+ <div id="leftColumn" class="span2">
+ <div class="well sidebar-nav">
- <h5>Overview</h5>
+
+ <h3>Overview</h3>
<ul>
<li class="none">
<a href="../index.html" title="Introduction">Introduction</a>
@@ -97,7 +105,7 @@ Olivier Lamy" />
<a href="../faq.html" title="FAQ">FAQ</a>
</li>
</ul>
- <h5>Examples</h5>
+ <h3>Examples</h3>
<ul>
<li class="none">
<a href="../examples/testng.html" title="Using TestNG">Using TestNG</a>
@@ -130,22 +138,22 @@ Olivier Lamy" />
<a href="../examples/providers.html" title="Selecting providers">Selecting providers</a>
</li>
</ul>
- <h5>Developer Center</h5>
+ <h3>Developer Center</h3>
<ul>
<li class="none">
<a href="../developing.html" title="Developing">Developing</a>
</li>
</ul>
- <h5>Project Documentation</h5>
+ <h3>Project Documentation</h3>
<ul>
- <li class="collapsed">
+ <li class="collapsed">
<a href="../project-info.html" title="Project Information">Project Information</a>
</li>
<li class="collapsed">
<a href="../project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
- <h5>Maven Projects</h5>
+ <h3>Maven Projects</h3>
<ul>
<li class="none">
<a href="../../../ant-tasks/index.html" title="Ant Tasks">Ant Tasks</a>
@@ -184,7 +192,7 @@ Olivier Lamy" />
<a href="../../../wagon/index.html" title="Wagon">Wagon</a>
</li>
</ul>
- <h5>ASF</h5>
+ <h3>ASF</h3>
<ul>
<li class="none">
<a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works">How Apache Works</a>
@@ -200,34 +208,40 @@ Olivier Lamy" />
</li>
</ul>
+
-
-
- <div id="poweredBy">
- <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <hr class="divider" />
+
+ <div id="poweredBy">
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <div class="clear"></div>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" />
</a>
- </div>
+ </div>
+ </div>
</div>
- </div>
-
- <div id="bodyColumn" class="content">
- <div id="contentBox">
-
- <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/refer
ences/apt-format.html --><div class="section"><h2>Running a Single Test<a name="Running_a_Single_Test"></a></h2><p>During development, you may run a single test class repeatedly. To run this through Maven, set the <tt>test</tt> property to a specific test case.</p><div class="source"><pre class="prettyprint">mvn -Dtest=TestCircle test</pre></div><p>The value for the <tt>test</tt> parameter is the name of the test class (without the extension; we'll strip off the extension if you accidentally provide one).</p><p>You may also use patterns to run a number of tests:</p><div class="source"><pre class="prettyprint">mvn -Dtest=TestCi*le test</pre></div><p>And you may use multiple names/patterns, separated by commas:</p><div class="source"><pre class="prettyprint">mvn -Dtest=TestSquare,TestCi*le test</pre></div></div><div class="section"><h2>Running a set of methods in a Single Test Class<a name="Running_a_set_of_methods_in_a_Single_Test_Class"></a></h2><p>With version 2.7.3, you ca
n run only n tests in a single Test Class.</p><p><b> NOTE : it's supported for junit 4.x and TestNG. </b></p><p>You must use the following syntax</p><div class="source"><pre class="prettyprint">mvn -Dtest=TestCircle#mytest test</pre></div><p>You can use patterns too</p><div class="source"><pre class="prettyprint">mvn -Dtest=TestCircle#test* test</pre></div><p>As of surefire 2.12.1, you can select multiple methods (JUnit4X only at this time, patches welcome)</p><div class="source"><pre class="prettyprint">mvn -Dtest=TestCircle#testOne+testTwo test</pre></div></div>
+
+ <div id="bodyColumn" class="span10" >
+
+ <!-- Licensed to the Apache Software Foundation (ASF) under one --><!-- or more contributor license agreements. See the NOTICE file --><!-- distributed with this work for additional information --><!-- regarding copyright ownership. The ASF licenses this file --><!-- to you under the Apache License, Version 2.0 (the --><!-- "License"); you may not use this file except in compliance --><!-- with the License. You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, --><!-- software distributed under the License is distributed on an --><!-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY --><!-- KIND, either express or implied. See the License for the --><!-- specific language governing permissions and limitations --><!-- under the License. --><!-- NOTE: For help with the syntax of this file, see: --><!-- http://maven.apache.org/doxia/ref
erences/apt-format.html --><div class="section"><h2>Running a Single Test<a name="Running_a_Single_Test"></a></h2><p>During development, you may run a single test class repeatedly. To run this through Maven, set the <tt>test</tt> property to a specific test case.</p><div class="source"><pre class="prettyprint">mvn -Dtest=TestCircle test</pre></div><p>The value for the <tt>test</tt> parameter is the name of the test class (without the extension; we'll strip off the extension if you accidentally provide one).</p><p>You may also use patterns to run a number of tests:</p><div class="source"><pre class="prettyprint">mvn -Dtest=TestCi*le test</pre></div><p>And you may use multiple names/patterns, separated by commas:</p><div class="source"><pre class="prettyprint">mvn -Dtest=TestSquare,TestCi*le test</pre></div></div><div class="section"><h2>Running a set of methods in a Single Test Class<a name="Running_a_set_of_methods_in_a_Single_Test_Class"></a></h2><p>With version 2.7.3, you
can run only n tests in a single Test Class.</p><p><b> NOTE : it's supported for junit 4.x and TestNG. </b></p><p>You must use the following syntax</p><div class="source"><pre class="prettyprint">mvn -Dtest=TestCircle#mytest test</pre></div><p>You can use patterns too</p><div class="source"><pre class="prettyprint">mvn -Dtest=TestCircle#test* test</pre></div><p>As of surefire 2.12.1, you can select multiple methods (JUnit4X only at this time, patches welcome)</p><div class="source"><pre class="prettyprint">mvn -Dtest=TestCircle#testOne+testTwo test</pre></div></div>
</div>
- </div>
- </div>
+ </div>
+
+ <hr/>
- <footer class="footer">
+ <footer>
<div class="container-fluid">
- <div class="row span16">Copyright © 2004-2012
+ <div class="row span12">Copyright © 2004-2012
<a href="http://www.apache.org/">The Apache Software Foundation</a>.
All Rights Reserved.
-
+
</div>
- </div>
+
+
+ </div>
</footer>
</body>
</html>
\ No newline at end of file