poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1885071 - /poi/trunk/build.gradle
Date Sun, 03 Jan 2021 17:02:24 GMT
Author: centic
Date: Sun Jan  3 17:02:24 2021
New Revision: 1885071

URL: http://svn.apache.org/viewvc?rev=1885071&view=rev
Log:
Enable XML result files for Gradle build to make them available for Jenkins CI

Modified:
    poi/trunk/build.gradle

Modified: poi/trunk/build.gradle
URL: http://svn.apache.org/viewvc/poi/trunk/build.gradle?rev=1885071&r1=1885070&r2=1885071&view=diff
==============================================================================
--- poi/trunk/build.gradle (original)
+++ poi/trunk/build.gradle Sun Jan  3 17:02:24 2021
@@ -142,6 +142,12 @@ subprojects {
     }
 
     test {
+        // make XML test-results available for Jenkins CI
+        useJUnitPlatform()
+        reports {
+            junitXml.enabled = true
+        }
+
         // Exclude some tests that are not actually tests or do not run cleanly on purpose
         exclude '**/BaseTestBorderStyle.class'
         exclude '**/BaseTestCellUtil.class'
@@ -372,6 +378,7 @@ project('excelant') {
 
         testCompile project(path: ':main', configuration: 'tests')
         testCompile "org.junit.jupiter:junit-jupiter:${junitVersion}"
+        testCompile 'org.hamcrest:hamcrest:2.2'
     }
 
     jar {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message