Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/pytest-with-eric/python-testing-strategy-example

Python Testing 101 (How To Decide What To Test)
https://github.com/pytest-with-eric/python-testing-strategy-example

python-testing python-unit-testing test-strategy

Last synced: 21 days ago
JSON representation

Python Testing 101 (How To Decide What To Test)

Awesome Lists containing this project

README

        

# Pytest Testing Strategy Example
This repo contains the sample code for the article - [Python Testing 101 (How To Decide What To Test)](https://pytest-with-eric.com/introduction/python-testing-strategy/).

# Requirements
* Python (3.12)

Please install the dependencies via the `Pipfile` file using
```bash
$ pipenv shell
$ pipenv install --dev
```
If you don't have Pip installed, please follow instructions online on how to do it.

See [this guide](https://realpython.com/pipenv-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
```bash
pytest -v
```

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