Skip to main content

Travis CI Build Status MIT License

The development version of datatest’s pytest integration.

Typically, only developers working on datatest’s pytest plugin should install this package. Other users are encouraged to install just datatest—this plugin comes bundled with it.

Requirements

Installation

For Developers

Clone the git repositories and use pip to perform an editable install from the cloned project directory:

git clone git@github.com:shawnbrown/datatest.git
git clone git@github.com:shawnbrown/pytest-datatest.git
pip install --editable ./datatest
pip install --no-deps --editable ./pytest-datatest

For Users

Don’t install this package—install datatest instead:

pip install datatest

For Users With Special Requirements

If you aren’t a datatest or plugin developer but instead need bug-fixes or features that are not yet available from the main datatest project, you can install “pytest-datatest” via pip from PyPI:

pip install datatest
pip install pytest-datatest

And if the version is PyPI isn’t new enough for your needs, you can install the plugin directly from the live GitHub repository (make sure to check that the build is “passing” before doing this):

pip install datatest
pip install --upgrade https://github.com/shawnbrown/pytest-datatest/archive/master.zip

Usage

When installed, this development version automatically overrides datatest’s bundled pytest integration. If you want to revert back to the bundled plugin, simply uninstall this version.

To disable the development version (and temporarily enable the bundled version) use:

pytest -p no:datatest_devel

To disable both the development and bundled versions use:

pytest -p no:datatest_devel -p no:datatest

Features

  • Provides a ‘mandatory’ marker to support incremental testing.

  • Provides an ‘–ignore-mandatory’ command line option to override the default ‘mandatory’ behavior.

  • Strips the leading “E “ prefix from ValidationError differences to help users more easily repurpose parts of the error message for allowed.specific(...) definitions.

License

Distributed under the terms of the MIT license, “pytest-datatest” is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Release files for pytest-datatest 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-datatest 0.1.4
File Size Uploaded
pytest-datatest-0.1.4.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-datatest 0.1.4
File Interpreter ABI Platform
pytest_datatest-0.1.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 16.1 kB

Release files / pytest-datatest-0.1.4.tar.gz

Download URL pytest-datatest-0.1.4.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f6d9a961db8109d4a78ed6839a8f825c1c593709c1ef5350cfad83241bd2c781
BLAKE2b-256 checksum
How to use checksums
406374a6d5ddc9b85c0706bd2780dddf3875d137150d8f8ee9cb17868ecebe99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.2

Release files / pytest_datatest-0.1.4-py2.py3-none-any.whl

Download URL pytest_datatest-0.1.4-py2.py3-none-any.whl
Size 8.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9fc23420fc19f14492343ad6dd47ef9c729c3f6927c6a5c22261eaacded8709d
BLAKE2b-256 checksum
How to use checksums
e7329911d7e4b10822c153421d5f1a2de26298daa21e7a7fb9cb64f0156deef5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page