Skip to content

Commit

Permalink
Add dependecies versions to the docs (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilopmar authored Sep 17, 2020
1 parent 9aaa23d commit 696216a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions src/main/docs/guide/junit5.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies {
...
testCompile "io.micronaut.test:micronaut-test-junit5:{version}"
testCompile "org.mockito:mockito-junit-jupiter:2.22.0"
testRuntime "org.junit.jupiter:junit-jupiter-engine:5.1.0"
testRuntime "org.junit.jupiter:junit-jupiter-engine:{junitVersion}"
}
// use JUnit 5 platform
Expand All @@ -24,7 +24,7 @@ NOTE: If you plan to define mock beans you will also need `inject-groovy` on you
Or for Maven:

.pom.xml
[source,xml]
[source,xml,subs="attributes+"]
----
<dependency>
<groupId>io.micronaut.test</groupId>
Expand All @@ -37,7 +37,7 @@ Or for Maven:
Note that for Maven you will also need to configure the Surefire plugin to use JUnit platform:

.pom.xml
[source,xml]
[source,xml,subs="attributes+"]
----
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -52,7 +52,7 @@ Note that for Maven you will also need to configure the Surefire plugin to use J
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.1.0</version>
<version>{junitVersion}</version>
</dependency>
</dependencies>
</plugin>
Expand Down
14 changes: 7 additions & 7 deletions src/main/docs/guide/kotest.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ To get started using Kotest you need the following dependencies in your build co
dependencies {
kaptTest "io.micronaut:micronaut-inject-java"
testImplementation "io.micronaut.test:micronaut-test-kotest:{version}"
testImplementation "io.mockk:mockk:1.9.3"
testImplementation "io.kotest:kotest-runner-junit5-jvm:4.1.3"
testImplementation "io.mockk:mockk:{mockkVersion}"
testImplementation "io.kotest:kotest-runner-junit5-jvm:{kotestVersion}"
}
// use JUnit 5 platform
Expand All @@ -21,7 +21,7 @@ test {
Or for Maven:

.pom.xml
[source,xml]
[source,xml,subs="attributes+"]
----
<dependency>
<groupId>io.micronaut.test</groupId>
Expand All @@ -32,13 +32,13 @@ Or for Maven:
<dependency>
<groupId>io.mockk</groupId>
<artifactId>mockk</artifactId>
<version>1.9.3</version>
<version>{mockkVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.kotest</groupId>
<artifactId>kotest-runner-junit5-jvm</artifactId>
<version>4.1.3</version>
<version>{kotestVersion}</version>
<scope>test</scope>
</dependency>
----
Expand All @@ -56,14 +56,14 @@ Note that for Maven you will also need to configure the Surefire plugin to use J
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.3.1</version>
<version>5.6.2</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<artifactId>kotlin-maven-plugin</artifactId>
<groupId>org.jetbrains.kotlin</groupId>
<version>1.3.20</version>
<version>1.4.10</version>
<configuration>
<compilerPlugins>
<plugin>all-open</plugin>
Expand Down
8 changes: 4 additions & 4 deletions src/main/docs/guide/kotlintest.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To get started using KotlinTest you need the following dependencies in your buil
dependencies {
kaptTest "io.micronaut:micronaut-inject-java"
testImplementation "io.micronaut.test:micronaut-test-kotlintest:{version}"
testImplementation "io.mockk:mockk:1.9.3"
testImplementation "io.mockk:mockk:{mockkVersion}"
testImplementation "io.kotlintest:kotlintest-runner-junit5:3.3.2"
}
Expand All @@ -23,7 +23,7 @@ test {
Or for Maven:

.pom.xml
[source,xml]
[source,xml,subs="attributes+"]
----
<dependency>
<groupId>io.micronaut.test</groupId>
Expand All @@ -34,7 +34,7 @@ Or for Maven:
<dependency>
<groupId>io.mockk</groupId>
<artifactId>mockk</artifactId>
<version>1.9.3</version>
<version>{mockkVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -58,7 +58,7 @@ Note that for Maven you will also need to configure the Surefire plugin to use J
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.3.1</version>
<version>5.6.2</version>
</dependency>
</dependencies>
</plugin>
Expand Down
2 changes: 1 addition & 1 deletion src/main/docs/guide/spock.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ NOTE: If you plan to define mock beans you will also need `micronaut-inject-groo
Or for Maven:

.pom.xml
[source,xml]
[source,xml,subs="attributes+"]
----
<dependency>
<groupId>io.micronaut.test</groupId>
Expand Down

0 comments on commit 696216a

Please sign in to comment.