This is an example repository with tests in the tests/examples/ directory. To run the tests :
-
Clone the repository with
git clone https://github.com/cskmnrpt/qase-pytest.git. To clone a different branch, other thanmain, use this command -
git clone --single-branch --branch <branch-name> https://github.com/cskmnrpt/qase-pytest.git -
Create and use a virtual environment: a. Create a virtual environment with
virtualenv venv, and activate it withsource venv/bin/activate. Runpip install -r requirements.txtfrom the root of this repository to install dependencies.b. Or, use pipenv to handle dependencies: Install
pipenvwith homebrew: $brew install pipenv$pipenv shell$pipenv install -
Install the latest version of
chromedriverwith brew: $brew install chromedriver -
Install browsers, if you are using the
playwrightlibrary:playwright install. -
Create a
qase.config.jsonin the root of the repository, and add your token, and project code. -
Run
pytest.