Skip to content

Commit

Permalink
Polish XML examples in User Guide
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Feb 7, 2019
1 parent d26f14f commit 29673c6
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions documentation/src/docs/asciidoc/user-guide/running-tests.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,9 @@ following.
</plugin>
</plugins>
</build>
...
<!-- ... -->
<dependencies>
...
<!-- ... -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
Expand All @@ -286,9 +286,9 @@ following.
<version>{jupiter-version}</version>
<scope>test</scope>
</dependency>
...
<!-- ... -->
</dependencies>
...
<!-- ... -->
----

Maven Surefire and Maven Failsafe can run JUnit 4 based tests alongside Jupiter tests as
Expand All @@ -298,7 +298,7 @@ long as you configure `test` scoped dependencies on JUnit 4 and the JUnit Vintag
[source,xml,indent=0]
[subs=attributes+]
----
...
<!-- ... -->
<build>
<plugins>
<plugin>
Expand All @@ -311,9 +311,9 @@ long as you configure `test` scoped dependencies on JUnit 4 and the JUnit Vintag
</plugin>
</plugins>
</build>
...
<!-- ... -->
<dependencies>
...
<!-- ... -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand All @@ -326,9 +326,9 @@ long as you configure `test` scoped dependencies on JUnit 4 and the JUnit Vintag
<version>{vintage-version}</version>
<scope>test</scope>
</dependency>
...
<!-- ... -->
</dependencies>
...
<!-- ... -->
----

[[running-tests-build-maven-filter-test-class-names]]
Expand All @@ -352,7 +352,7 @@ from excluding static member classes, you can override its exclude rules as foll
[subs=attributes+]
.Overriding exclude rules of Maven Surefire
----
...
<!-- ... -->
<build>
<plugins>
<plugin>
Expand All @@ -366,7 +366,7 @@ from excluding static member classes, you can override its exclude rules as foll
</plugin>
</plugins>
</build>
...
<!-- ... -->
----

Please see the
Expand All @@ -385,7 +385,7 @@ the following configuration properties.
[source,xml,indent=0]
[subs=attributes+]
----
...
<!-- ... -->
<build>
<plugins>
<plugin>
Expand All @@ -398,7 +398,7 @@ the following configuration properties.
</plugin>
</plugins>
</build>
...
<!-- ... -->
----

[[running-tests-build-maven-config-params]]
Expand All @@ -412,7 +412,7 @@ below) or via the `junit-platform.properties` file.
[source,xml,indent=0]
[subs=attributes+]
----
...
<!-- ... -->
<build>
<plugins>
<plugin>
Expand All @@ -430,7 +430,7 @@ below) or via the `junit-platform.properties` file.
</plugin>
</plugins>
</build>
...
<!-- ... -->
----

[[running-tests-build-ant]]
Expand Down Expand Up @@ -491,7 +491,7 @@ test classes from multiple locations.
<!-- The location where you have your compiled classes -->
<pathelement location="${build.classes.dir}" />
</path>
....
<!-- ... -->
<junitlauncher>
<classpath refid="test.classpath" />
<testclasses outputdir="${output.dir}">
Expand Down

0 comments on commit 29673c6

Please sign in to comment.