2015-06-08 12:15:11 +03:00
** Work in progress
This project contains a set of automatic tests operating in the UI level.
2015-06-08 12:26:10 +03:00
Tests are to be run with the tool Appium. Check [here][0] to install it and all its dependencies (including Maven).
2015-06-08 12:15:11 +03:00
2017-05-10 22:04:47 +03:00
You will need to modify the constants in automationTest/src/test/java/com/owncloud/android/test/ui/testSuites/Config.java to assign appropriate values for your test server and accounts.
2015-06-08 16:02:29 +03:00
You will need to include the ownCloud.apk to test in automationTest/src/test/resources/.
2015-06-08 12:15:11 +03:00
To run the tests from command line, plug a device to your computer or start and emulator. Then type
mvn clean tests
2015-06-08 16:02:29 +03:00
To run only one category of the test
mvn clean -Dtest=RunSmokeTests test
2017-05-10 22:04:47 +03:00
The project may also be imported in Eclipse, with the appropriate plug-ins, and run from it.
2015-06-08 12:15:11 +03:00
[0]: http://appium.io/slate/en/master/?java#about-appium