GitHub - SlikNik/python-testing-101: Python Testing 101 with pytest - March 2019
-
Notifications
You must be signed in to change notification settings - Fork 0
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/activateInstall pytest from PyPI.
(venv) $ pip install pytest
Run the tests
You can run the tests for this project
by running pytest.