Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

3 Simple Ways To Omit Subfolders From Python Coverage Reports

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages