Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,18 @@ You can run the "jme3-examples" app:
You can restore the project to a pristine state:
+ using Bash or Fish or PowerShell or Zsh: `./gradlew clean`
+ using Windows Command Prompt: `.\gradlew clean`

## Running Tests

To run all tests and generate a JaCoCo code coverage report, run the `testCodeCoverageReport` Gradle task. To avoid the generation of the report, use the `test` task instead.

This runs all subproject tests and produces two sets of HTML reports:

- **Aggregated report** (all modules combined):
`build/reports/jacoco/testCodeCoverageReport/html/index.html`
- **Per-module reports**:
`<module>/build/reports/jacoco/test/html/index.html`

A summary index linking to every per-module report is also generated at:
`build/reports/jacoco/index.html`

2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ ext {
ndkExists = false
}

apply from: 'gradle/jacoco.gradle'

task configureAndroidNDK {
def ndkBuildFile = "ndk-build"
// if windows, use ndk-build.cmd instead
Expand Down
Loading
Loading