Skip to content

alttester/EXAMPLES-Python-Android-AltTrashCat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AltTester® Examples Tests for Android Build with Python Tests

This repository shows a few Python tests that use the page object model and AltTester® to test the Unity Endless Runner sample: https://assetstore.unity.com/packages/essentials/tutorial-projects/endless-runner-sample-game-87901

Prerequisites

  • adb
  • python3
  • pip3

Running the tests

Note: The tests are meant to be run on an Android device.

❗ Starting with version 2.0.0, the AltTester® Desktop must be running on your PC while the tests are running.

  1. Download and install the AltTester® Desktop from here, then open it.
  2. Instrument the TrashCat application using the latest version of AltTester® Unity SDK - for additional information you can follow this tutorial
  3. Create a folder app and include the instrumented app under the folder.
  4. To start the tests, depending on your OS run:
    • ./run_tests_mac.sh on MacOS/Linux
    • ./run_tests_windows.sh on Windows

This script will:

  • try to uninstall the apk and reinstall it
  • start the app
  • try to create a Python virtual env and install the dependencies
  • run the tests
  • stop the app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages