I am running into an exception running gradle test with cucumber. Is there a way to customize the file names?
I have this set up :
test {
reports.junitXml.enabled = false }
I can also switch off the html reports by “reports.html.enabled = false” , but then it doesn’t generate any HTML reports. Is there a way around this issue?
Thanks in advance ,
Caused by: java.io.FileNotFoundException: /Users/Shared/Development/AmitBuild/AmitDev/snapshots/metrics-dedupe/metrics-dedupe-jar/build/reports/tests/classes/Scenario#3a#20De-dupe#203#20valid#20fuel#20streams#20where#20two#20of#20the#20streams#20have#20a#20time#20period#20with#20different#20values#20but#20the#20same#20total#20value#20-#20this#20verifies#20that#20it#20chooses#20the#20later#20item#20in#20the#20list.html (File name too long)
System Info:
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
------------------------------------------------------------ Gradle 1.12 ------------------------------------------------------------
Build time:
2014-04-29 09:24:31 UTC Build number: none Revision:
a831fa866d46cbee94e61a09af15f9dd95987421
Groovy:
1.8.6 Ant:
Apache Ant™ version 1.9.3 compiled on December 23 2013 Ivy:
2.2.0 JVM:
1.7.0_51 (Oracle Corporation 24.51-b03) OS:
Mac OS X 10.9.2 x86_64