~ubuntu-branches/ubuntu/precise/surefire/precise

« back to all changes in this revision

Viewing changes to maven-surefire-plugin/src/site/apt/index.apt

  • Committer: Bazaar Package Importer
  • Author(s): Miguel Landaeta
  • Date: 2011-10-10 20:42:16 UTC
  • mfrom: (2.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20111010204216-cemva69wkagf4fay
Tags: 2.10-1
* Team upload.
* New upstream release.
* Refresh and remove unneccesary patches.
* Add Build-Depends on libsurefire-java and
  libmaven-common-artifact-filters-java.
* Drop outdated Maven artifact surefire-junit.
* Provide new Maven artifacts: surefire-junit3, maven-surefire-common,
  common-junit3, common-junit4, surefire-junit47 and surefire-testng-utils.
* Fix clean target to allow "two in a row" builds.
* Update Vcs-Browser field.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
  ------
2
 
  Introduction
3
 
  ------
4
 
  Allan Ramirez
5
 
  ------
6
 
  July 2006
7
 
  ------
8
 
 
9
 
Maven Surefire Plugin
10
 
 
11
 
  The Surefire Plugin is used during the <<<test>>> phase of the build
12
 
  lifecycle to execute the unit tests of an application. It generates reports
13
 
  in 2 different file formats:
14
 
 
15
 
  * Plain text files (*.txt)
16
 
 
17
 
  * XML files (*.xml)
18
 
 
19
 
  []
20
 
 
21
 
  By default, these files are generated at <<<$\{basedir\}/target/surefire-reports>>>.
22
 
 
23
 
  For an HTML format of the report, please see the
24
 
  {{{http://maven.apache.org/plugins/maven-surefire-report-plugin/}Maven Surefire Report Plugin}}.
25
 
 
26
 
* Goals Overview
27
 
 
28
 
  The Surefire Plugin has only 1 goal:
29
 
 
30
 
  * {{{test-mojo.html}surefire:test}} runs the unit tests of an application.
31
 
 
32
 
  []
33
 
 
34
 
* Usage
35
 
 
36
 
  Instructions on how to use the Surefire Plugin can be found on the {{{usage.html}usage page}}.
37
 
 
38
 
* Examples
39
 
 
40
 
  The following examples show how to use the Surefire Plugin in more advanced use-cases:
41
 
 
42
 
  * {{{examples/testng.html}Using TestNG}}
43
 
 
44
 
  * {{{examples/skipping-test.html}Skipping Tests}}
45
 
 
46
 
  * {{{examples/inclusion-exclusion.html}Inclusions and Exclusions of Tests}}
47
 
 
48
 
  * {{{examples/single-test.html}Running a Single Test}}
49
 
 
50
 
  * {{{examples/class-loading.html}Class Loading Issues}}
51
 
 
52
 
  * {{{examples/debugging.html}Debugging Tests}}
53
 
 
54
 
  * {{{examples/system-properties.html}Using System Properties}}
55
 
  
56
 
  * {{{examples/additional-classpath.html}Additional Classpath Elements}}
57
 
  
58
 
  []