An open API service indexing awesome lists of open source software.

https://github.com/pytest-with-eric/pytest-sessionstart-sessionfinish-example

pytest_sessionstart and pytest_sessionfinish (A Complete Guide)
https://github.com/pytest-with-eric/pytest-sessionstart-sessionfinish-example

pytest-hooks pytest-sessionfinish pytest-sessionstart

Last synced: about 1 month ago
JSON representation

pytest_sessionstart and pytest_sessionfinish (A Complete Guide)

Awesome Lists containing this project

README

        

# `pytest_sessionstart` and `pytest_sessionfinish` Hooks Example

This repo contains the sample code for the article - [pytest_sessionstart and pytest_sessionfinish (A Complete Guide)](https://pytest-with-eric.com/hooks/pytest-sessionstart-sessionfinish/)

# Requirements
* Python (3.12)

Please install the dependencies via [Poetry](https://python-poetry.org/) by running the following command from the root of the repo
```shell
poetry install
```

# How To Run the Unit Tests
To run the Unit Tests, from the root of the repo run
```shell
poetry run pytest
```

If you have any questions about the project please raise an Issue on GitHub.