Powerful Framework for UI Automation Testing on Python
Before you begin:
- Python 3.11 is used for this project. To install Python on MacOs you can use Homebrew, on Windows you can use Chocolatey.
- run git clone https://github.com/jdi-testing/jdi-python.git or fork the repository and clone it afterwards.
- create a virtual environment for the project. You can use virtualenv or venv for that.
- set up Python interpreter to use Python 3.11 in your IDE.
- run
pip install -r requirements.txt
to install all required dependencies.
- inside your IDE
- using pytest
- activate your virtual environment by running
source venv/bin/activate
on MacOs orvenv\Scripts\activate
on Windows - run
pytest
in the terminal (eg.pytest ./tests/jdi_uitests_webtests/test/common/
- to run all tests in the specified directory) - be sure that you are in a project root directory when running the command