Skip to content

Pytest-with-Eric/pytest-sessionstart-sessionfinish-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytest_sessionstart and pytest_sessionfinish Hooks Example

This repo contains the sample code for the article - pytest_sessionstart and pytest_sessionfinish (A Complete Guide)

Requirements

  • Python (3.12)

Please install the dependencies via Poetry by running the following command from the root of the repo

poetry install

How To Run the Unit Tests

To run the Unit Tests, from the root of the repo run

poetry run pytest

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