Open NateZ7 opened 6 years ago
The zip file is your test package. and you can find more information at https://docs.aws.amazon.com/devicefarm/latest/developerguide/test-types-intro.html hope that helps
Hi Guys, Any idea about generating the single jar file with all tests info, using gradle builds? instead of maven build
@satheeshkumarf does this help to answer the inquiry? https://stackoverflow.com/a/52398377/8016330
I'm still unable to create a zip file with the link provided above. When I use from sourceSets.test.runtimeClasspath
, I get this error:
"ERROR: Could not get unknown property 'test' for SourceSet container of type org.gradle.api.internal.tasks.DefaultSourceSetContainer."
My code is located under: app/src/test
I've tried replacing these by from 'src/test/java'
and then I'm able to create a zip file. But when I use the zip file in AWS Device Farm, I'm getting this:
There was a problem processing your file. We could not find a class file within the tests JAR file. Please unzip your test package and then unjar the tests JAR file, verify that at least one class file is within the JAR file, and try again
In the gradle plugin there is this part:
What is the
path to zip file
? I'm using gradle of course. Thanks!