This is a sample project to understand and start using teswiz
- Clone/download the getting-started-with-teswiz repo
- For the android apk, find the package and activity aapt dump badging src/test/resources/sampleApps/.apk | grep package aapt dump badging src/test/resources/sampleApps/.apk | grep activity
- Create a copy of an existing configs file - ex: ./configs/myapp.properties
Update
APP_PACKAGE_NAME
andAPP_NAME
,BASE_URL
- Create a copy of an existing capabilities file - ex: ./caps/myapp_capabilities.json
- Update
android->app->local
,android->appActivity
andandroid->appPackage
- Update
- Update
src\test\resources\reportportal.properties
file - Run the sample test
Test execution using teswiz is highly configurable. This enables you to control what type of tests you want to execute, and where (environment, local/cloud), etc, without making changes to your code.
Refer to the breaking changes section in teswiz repo
Feature/Functional coverage from your test execution
Simply download the repo as a zip file, or clone it, and run the command:
./gradlew clean run