- Python
- Pytest
- Appium
- Selenium
- Faker
- Python 3 or higher must be installed (Version 3 preferred) Python download page
- Pytest must be installed Pytest download,
- Appium must be installed Appium download,
.
├── README.md
├── config
│ └── base_config.py
├── conftest.py
├── docker-compose.yml
├── output
│ ├── assets
│ │ └── style.css
│ └── report.html
├── pages
│ ├── base_page.py
│ ├── google
│ │ ├── google_main_page.py
│ │ └── google_results_page.py
│ └── yandex
│ ├── yandex_main_page.py
│ └── yandex_results_page.py
├── pytest.ini
├── requirements.txt
├── test
│ └── test_search.py
└── utils
├── data
│ └── data_compare.py
└── driver.py
Conditions are requested when naming. Names should be short and meaningful.
directory names = my_directory (snake case)
variable name = my_variable (snake case)
method name = my_method (snake case)
class name = MyClass (Pascal case)
tag name = @MyTag (Pascal case)
pip3 install -r requirements.txt
Python CLI command to run tests.
execution tests :
python3 -m pytest
execution tests via specific test file
python3 -m pytest 'file path'
execution tests via marks
@pytest.mark.smoke should be added in the test case
pytest -v -m smoke
execution tests via docker
Create docker container
docker compose up -d --build
Use remote-firefox or remote-chrome on your scenario
pytest test/test_search.py