nextcloud-android/automationTest
2017-03-14 21:59:28 +01:00
..
.settings add new testCases. prepare the test to have them into categories 2015-05-11 08:20:21 +02:00
resources update the project structure 2015-06-04 12:29:27 +02:00
src/test Add favorite buttons 2017-03-14 21:59:28 +01:00
.classpath rename the package, changes some files names, more config variables 2015-05-11 11:45:49 +02:00
.gitignore update -gitignore and readme 2015-06-08 15:02:29 +02:00
.project upload a few automated test 2015-03-13 09:42:18 +01:00
pom.xml add new testCases. prepare the test to have them into categories 2015-05-11 08:20:21 +02:00
README.md update -gitignore and readme 2015-06-08 15:02:29 +02:00

** Work in progress

This project contains a set of automatic tests operating in the UI level.

Tests are to be run with the tool Appium. Check here to install it and all its dependencies (including Maven).

You will need to modify the constants in automationTest/src/test/java/com/owncloud/android/test/ui/testSuites/Config.java to assign appropiate values for your test server and accounts. You will need to include the ownCloud.apk to test in automationTest/src/test/resources/.

To run the tests from command line, plug a device to your computer or start and emulator. Then type

mvn clean tests

To run only one category of the test

mvn clean -Dtest=RunSmokeTests test

The project may also be imported in Eclipse, with the appropiate plug-ins, and run from it.