Skip to content

stribny/python-pytest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testing Python applications with pytest

This project demonstrates various ways to test Python programs.

Read the article: Testing Python applications with Pytest.

Installation & Usage

To install the project:

poetry install

To run the examples, we need to enter the virtual environment:

poetry shell

Now we can run the test suite with:

pytest

Licence

Author: Petr Stříbný

License: The MIT License (MIT)