Skip to content

qase-tms/pytest-demo

qase-pytest

This is an example repository with tests in the tests/examples/ directory. To run the tests :

  1. Clone the repository with git clone https://github.com/cskmnrpt/qase-pytest.git. To clone a different branch, other than main, use this command -
    git clone --single-branch --branch <branch-name> https://github.com/cskmnrpt/qase-pytest.git

  2. Create and use a virtual environment: a. Create a virtual environment with virtualenv venv, and activate it with source venv/bin/activate. Run pip install -r requirements.txt from the root of this repository to install dependencies.

    b. Or, use pipenv to handle dependencies: Install pipenv with homebrew: $ brew install pipenv $ pipenv shell $ pipenv install

  3. Install the latest version of chromedriver with brew: $ brew install chromedriver

  4. Install browsers, if you are using the playwright library: playwright install.

  5. Create a qase.config.json in the root of the repository, and add your token, and project code.

  6. Run pytest.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages