pytest-clarity 1.0.1

Creator: bradpython12

Last updated:

Add to Cart

Description:

pytestclarity 1.0.1

A pytest plugin which brings the coloured diff output from the Ward test framework to pytest.

Before



After



Requirements
Supports Python 3.6+.


Installation
You can install “pytest-clarity” via pip:
$ pip install pytest-clarity


Usage
Install the plugin as described above.
The plugin will only be activated when the -vv option is supplied to pytest.
You can configure the width of the output with the --diff-width option:
pytest -vv --diff-width=60
You can force pytest-clarity to show a symbolic diff with --diff-symbols:
pytest -vv --diff-symbols

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.