◐ Shell
clean mode source ↗

GitHub - eliberman/python-testing-101: Python Testing 101 with pytest - March 2019

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

python-testing-101

Python Testing 101 with pytest - March 2019

This repository was for the March 2019 presentation at Python Frederick.

Our goal was to show off pytest and how to do automated testing in your projects.

Getting started

Create a virtual environment to hold your local packages (i.e. pytest).

$ python3 -m venv venv
$ source venv/bin/activate

Install pytest from PyPI.

(venv) $ pip install pytest

Run the tests

You can run the tests for this project by running pytest.