Files
appium/sample-code/python/README.md
Kazuaki Matsuo cd12ed9a51 Add python sample code (#11208)
* add initial python sample

* add all of ios and android tests

* apply formatter

* add >=0.28 to avoid version error

* tweak versions of default OS

* convert some tests to unittest based ones

* use single quote mainly

* use {} format style for string

* use format syntax

* apply format and tweak assertions

* use is None

* use assert raise

* speficy a number of elements

* tweak exception

* move app path to helper

* tweak assertion conditions

* remove .close since with open() close file automatically
2018-08-22 11:48:58 -07:00

28 lines
338 B
Markdown

# Python Sample Code
## Setup
```
pip install -r requirements.txt
```
## Run tests
### Run all tests
```
py.test test
```
### Run an arbitrary file
```
py.test test/test_ios_selectors.py
```
## TestCase
### unittest based
- test/test_android_create_session.py
- test/test_ios_create_session.py
### pytest based
- Rest of the above