A Wrapper Around Pytest for Assessing Flakiness and Runtime Regressions

bubblewrap

A wrapper around pytest for assessing flakiness and runtime regressions

Local Setup

This project uses Python3.9, pip to manage dependencies, and runs in a virtual environment. Install with the following:

# create + activate venv + install dependencies
# see docs:  https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/
$ python3 -m pip install --user virtualenv
$ python3 -m venv env
$ source env/bin/activate
$ pip install -r requirements.txt
# note: to deactivate venv, use
$ deactivate

Code Formatting

This project uses Black for code formatting:

$ python3 -m black .

The pyproject.toml file includes configuration.

Tests

Actual unit tests for this project are also run with with pytest. Having installed the pip dependencies (see prior section), run with the following:

# unit tests
$ python3 -m pytest
# test coverage report
$ python3 -m coverage run -m pytest

Download Details:

Author: acnagy
Download Link: Download The Source Code
Official Website: https://github.com/acnagy/bubblewrap
License: MIT

#testing #pytest #python

A Wrapper Around Pytest for Assessing Flakiness and Runtime Regressions
18.35 GEEK