Reputation: 785
I'm working with AWS-Device Farm and I followed the steps specified to run my test package, I have selected Test Configuration Appium Java Junit But All of my test cases failed. So After looking at popup messages displayed along with error messages I notice that AWS Runs My test cases by converting my junit test cases to TestNG. How to overcome this issue please suggest some solution.
Upvotes: 3
Views: 656
Reputation: 2375
In Device Farm's custom environment, it's possible now to change the command to start the test. A java JUnit command can be used the testspec file in theory to run the java tests using JUnit instead of TestNG.
I found these commands(not tested) which could replace the TestNG command.
Upvotes: 0