To launch tests you need:
- Python 3.6
- Appium
- Android SDK
To install Python:
> sudo apt install python3-minimal
To install Appium:
> curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - # get node.js
> sudo apt-get install -y nodejs # get node.js
> npm install -g appium # get appium
To install Android SDK:
> sudo apt update && sudo apt install android-sdk
To launch test:
- Create and run emulator in Android SDK or connect real device
- Launch Appium:
> appium .
- Check emulator/device is launched or connected:
> adb devices
- Follow these steps:
> pip install -r requirements.txt
> pytest tests/test_log_text_box.py