Skip to content

Commit

Permalink
Update README_TEMPLATE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth authored Mar 20, 2024
1 parent 59e008d commit df6a56a
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions README_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,17 @@ available versions instead of copy-pasting them from here.
```
* Add Android-JUnit5 dependencies:
```groovy
implementation 'androidx.test:runner:1.3.0'
implementation 'de.mannodermaus.junit5:android-test-core:1.3.0'
implementation 'de.mannodermaus.junit5:android-test-runner:1.3.0'
implementation 'androidx.test:runner:1.5.2'
implementation 'de.mannodermaus.junit5:android-test-core:1.4.0'
implementation 'de.mannodermaus.junit5:android-test-runner:1.4.0'
```
* Add JUnit 5 dependencies:
```groovy
implementation "org.junit.platform:junit-platform-runner:1.9.1"
implementation "org.junit.jupiter:junit-jupiter-engine:5.9.1"
implementation "org.junit.platform:junit-platform-runner:1.10.0"
implementation "org.junit.jupiter:junit-jupiter-engine:5.10.0"
// JUnit5 (Optional) If you need "Parameterized Tests"
implementation "org.junit.jupiter:junit-jupiter-params:5.9.1"
implementation "org.junit.jupiter:junit-jupiter-params:5.10.0"
```

Here is a full example of `build.gradle` file for Kotlin-based project (remember update library versions):
Expand Down Expand Up @@ -168,24 +168,22 @@ dependencies {
implementation ('com.epam.reportportal:agent-android-junit5:$LATEST_VERSION') {
exclude group: 'org.aspectj' // AspectJ usually already included by Android
}
implementation ('com.epam.reportportal:logger-java-logback:5.1.4') {
exclude group: 'com.epam.reportportal'
}
implementation 'com.epam.reportportal:logger-java-logback:5.2.2'
// Logging support, newer versions of logback do not support Android
implementation 'ch.qos.logback:logback-classic:1.2.11'
implementation 'ch.qos.logback:logback-classic:1.3.12'
// android-junit5 necessary libraries
implementation 'androidx.test:runner:1.5.2'
implementation 'de.mannodermaus.junit5:android-test-core:1.3.0'
implementation 'de.mannodermaus.junit5:android-test-runner:1.3.0'
implementation 'de.mannodermaus.junit5:android-test-core:1.4.0'
implementation 'de.mannodermaus.junit5:android-test-runner:1.4.0'
// JUnit5 libraries, 'junit-jupiter-api' is inherited from agent
implementation "org.junit.platform:junit-platform-runner:1.9.1"
implementation "org.junit.jupiter:junit-jupiter-engine:5.9.1"
implementation "org.junit.platform:junit-platform-runner:1.10.0"
implementation "org.junit.jupiter:junit-jupiter-engine:5.10.0"
// JUnit5 (Optional) If you need "Parameterized Tests"
implementation "org.junit.jupiter:junit-jupiter-params:5.9.1"
implementation "org.junit.jupiter:junit-jupiter-params:5.10.0"
}
```
### Create `reportportal.properties` configuration file
Expand Down Expand Up @@ -257,9 +255,7 @@ test phase only.
Put this dependency into `dependencies` section of your `build.gradle` file of integration test
module:
```groovy
implementation ('com.epam.reportportal:logger-java-logback:5.1.4') {
exclude group: 'com.epam.reportportal' // Already included by the agent dependency
}
implementation 'com.epam.reportportal:logger-java-logback:5.2.2'
```

#### 'logback.xml' file
Expand Down

0 comments on commit df6a56a

Please sign in to comment.