Skip to content

Commit

Permalink
Add an option in the gradle.properties for html junit reports (#2777)
Browse files Browse the repository at this point in the history
  • Loading branch information
gus-asf authored Oct 23, 2024
1 parent 577e701 commit 457ca36
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions gradle/template.gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
# tests.minheapsize=512m
# tests.jvmargs=-XX:+UseParallelGC -XX:TieredStopAtLevel=1 -XX:ActiveProcessorCount=1
#
# If you want tests to produce an html report (which intellij provides a clickable link for
# at the end of a failed build) set this to true, defaults to false to save a few seconds.
#
# tests.html=false
#
#################
# Gradle Daemon #
#################
Expand Down Expand Up @@ -98,5 +103,8 @@ org.gradle.workers.max=@MAX_WORKERS@
# Maximum number of test JVMs forked per test task.
tests.jvms=@TEST_JVMS@

# By default skip html generation
tests.html=false

# Disable auto JVM provisioning (we don't use toolchains yet but want no surprises).
org.gradle.java.installations.auto-download=false
2 changes: 1 addition & 1 deletion gradle/testing/defaults-tests.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ allprojects {
}

// Disable HTML report generation. The reports are big and slow to generate.
reports.html.required = false
reports.html.required = Boolean.parseBoolean(providers.gradleProperty("tests.html").getOrElse("false"))

// Set up logging.
testLogging {
Expand Down

0 comments on commit 457ca36

Please sign in to comment.