awslabs / aws-device-farm-jenkins-plugin

Jenkins plugin for AWS Device Farm.
Apache License 2.0
89 stars 66 forks source link

What is the test package location ? #70

Open NateZ7 opened 6 years ago

NateZ7 commented 6 years ago

Hi, I'm using the aws-device-farm plugin in Jenkins. When I choose Run Tests on AWS device Farm as post build action, there is a Choose test to run section.

I chose Appium Java JUnit to match my tests type. Inside that, there is a field "Tests" which described as :

[Required] Pattern to find Java JUnit tests.

I'm using Gradle. How do I provide the zip file for the "Tests" field ?

Thanks !

JinZgitH commented 6 years ago

As I answered to your other post, you have to make your own tests, and zip them into a .zip file and upload it to DeviceFarm for them to execute the test. This link will help: https://docs.aws.amazon.com/devicefarm/latest/developerguide/test-types-android-appium-java-testng.html#test-types-android-appium-java-testng-prepare