Skip to content

Pytest-with-Eric/python-testing-strategy-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pytest Testing Strategy Example

This repo contains the sample code for the article - Python Testing 101 (How To Decide What To Test).

Requirements

  • Python (3.12)

Please install the dependencies via the Pipfile file using

$ pipenv shell  
$ pipenv install --dev

If you don't have Pip installed, please follow instructions online on how to do it.

See this guide for instructions how to use Pipenv.

How To Run the Unit Tests

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

pytest -v

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