GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-testing-101/README.md at master · BilyGeorg/python-testing-101

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
35 lines (24 loc) · 552 Bytes
/

README.md

Copy path

File metadata and controls

35 lines (24 loc) · 552 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

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
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.