How to run appium-java automated tests as a server side execution in BitBar
- 5 years ago
Hello abhipatel1592 ,
Ad. 1
run-tests.sh is an entry point for server-side tests executor. It's using Docker as a sandbox, so your files are safe and the test environment is always fresh. So with this shell script, you can do all the additional preparations that you need.
Ad. 2
Your test ZIP archive should contain all files needed to run your tests. The only requirement is that run-tests.sh script must be placed at the root. Maybe this article will help you:
Ad. 3
Again - the above URL should answer the question. I can add that good practice is that run-tests.sh script should create screenshots directory before starting test. BitBar Cloud will show screenshots from this directory in results. Also if you are using Java then probably you will be using JUnit as a reporter. If you will create tests report as file TEST-all.xml, then BitBar Cloud will read and present test methods in the UI results page.
Here is our Appium Server Side sample using Java:
Br,
Marek