Skip to content

Commit

Permalink
Add Gradle reports
Browse files Browse the repository at this point in the history
  • Loading branch information
3750 committed Dec 1, 2023
1 parent 24778ea commit e9cfc46
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions part1.0-introduction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ runner {
- Run tests `./gradlew --rerun-tasks :part1.0-introduction:test :part1.0-introduction:createTestsExecutionReport`
- Check [reports](build/reports/tests-execution/html/test.html)

Check other reports created by Gradle:

- [HTML report](build/reports/tests/test)
- [XML report](build/test-results/test)

## Execution modes

- two execution modes
Expand Down
5 changes: 5 additions & 0 deletions part1.0-introduction/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ dependencies {

test {
useJUnitPlatform()
reports {
junitXml {
required = true
}
}
}

createTestsExecutionReport {
Expand Down

0 comments on commit e9cfc46

Please sign in to comment.