Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 707 Bytes

File metadata and controls

25 lines (16 loc) · 707 Bytes

Python Coverage Omit Subfolder in Source Example

Description

This project is an example of how to omit a subfolder in the source code from the coverage report, for the article 3 Simple Ways To Omit Subfolders From Python Coverage Reports.

The tests for the module are written using the pytest framework.

Usage

Create a virtual environment and install the dependencies:

$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

To run the tests, you can use the following command:

$ pytest

If you have any questions about the project please raise an Issue on GitHub.