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)
- Host: GitHub
- URL: https://github.com/pytest-with-eric/pytest-sessionstart-sessionfinish-example
- Owner: Pytest-with-Eric
- Created: 2024-07-12T08:47:51.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-06T07:40:21.000Z (9 months ago)
- Last Synced: 2025-01-29T12:29:37.734Z (3 months ago)
- Topics: pytest-hooks, pytest-sessionfinish, pytest-sessionstart
- Language: Python
- Homepage: https://pytest-with-eric.com/hooks/pytest-sessionstart-sessionfinish/
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.