Project with tests for NativeScript sample apps.
Based on NativeScript/functional-tests-core.
Prerequisites and steps to setup environment are actually the same as those for NativeScript/functional-tests-core.
Please read this document.
Install Functional Tests Core:
functional.tests.core.jar
in the lib
foldermvn install:install-file -Dfile=lib/functional.tests.core-0.0.5.jar -DgroupId=functional.tests.core -DartifactId=functional.tests.core -Dversion=0.0.5 -Dpackaging=jar
Alternative:
Build Functional Tests Core from source. Please read the instructions.
Run from command line with Maven
Test suites and device configurations are matched in pom.xml.
Each combination of tests and device is unique configuration.
Sample entry in pom.xml:
<profile>
<id>cuteness.emu.default.api23</id>
<properties>
<app.config>cuteness/cuteness.emu.default.api23.properties</app.config>
<testsuite>cuteness-android</testsuite>
</properties>
</profile>
In this case configuration ID is cuteness.emu.default.api23
.
Here is how you can run it:
mvn clean test -P cuteness.emu.default.api23
Run tests in Eclipse/IntelliJ IDEA
Place this in Vm options:
-DappConfig=resources/config/cuteness/cuteness.emu.default.api23.properties
HTML Report
Logs