Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 552 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 552 Bytes

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.

$ pytest