To integrate PyCharm with PyTest
Preferences -> Tools -> Default test runner -> pytest
Necessary installations
- Xcode, Android Studio
- iOS and Android emulators
- Appium + carthage
Don't forget to check diagnostic via appium doctor
- Install appium doctor: npm install appium-doctor -g
- Check diagnostic for necessary dependencies by running in terminal:
- appium-doctor --ios
- appium-doctor --android
How to start?
- Clone repo
- Create .env file in root directory
- Install requirements: pip install -r requirements.txt
- Start Appium
- Run test via terminal on iOS platform: pytest ./tests (ios emulator starts automatically)
- Run test via terminal on Android platform: pytest --platform=android ./tests (android simulator needs to be started manually)