Name: edx-app-test
Owner: edX
Description: Automated testing for edX Android and iOS mobile applications.
Created: 2017-12-13 01:34:40.0
Updated: 2018-05-23 09:14:13.0
Pushed: 2018-05-24 07:41:35.0
Homepage: null
Size: 33663
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Automated testing for edX Android and iOS mobile applications.
Don't forget to set environment variables for adb, platform-tools etc.*
connect/start Android/iOS Device/Simulator
You will need to configure following system level Environment Variables to run tests against
set `Android' to execute test cases on Android or 'iOS' to execute on iOS
export TARGET_ENVIRONMENT = 'Android'
set above selected target_environment's OS Version(of specific running device/simulator) like below
export ANDROID_PLATFORM_VERSION = '8.0'
export IOS_PLATFORM_VERSION = '11.2'
set valid credentials to login
export LOGIN_USER_NAME = '
export LOGIN_PASSWORD = '
install edx(iOS/Android) app on specific device/simulator
Check out/download the source code, browse its directory
git clone https://github.com/edx/edx-app-test
pytest
- to run all test cases
pytest -v <test case name>
to run specific test case
pytest -v <test case name> --html=report.html
will create html report