A pytest plugin for test driven data-wrangling (this is the development version of datatest's pytest integration).
The development version of datatest’s pytest integration.
- This is the pytest-datatest development package. Typically, developers should only install this package if they are working on the pytest-datatest plugin itself.
- Users are encouraged to use the automatically provided version of this plugin that ships with the main datatest package itself—not this development version.
This simple plugin strips the leading “E ” prefix from lists of datatest differences when they appear in reported pytest errors. This lets users copy specific differences from the output and paste them into an allowance definition with minimal formatting.
For Developers: Clone the git repository and use pip to perform an editable install from the cloned project directory:
git clone email@example.com:shawnbrown/pytest-datatest.git pip install --no-deps --editable ./pytest-datatest
For Users: Don’t install this package—you don’t need it. This plugin is already bundled with datatest itself.
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 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 --upgrade https://github.com/shawnbrown/pytest-datatest/archive/master.zip
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.
You can disable this plugin with:
pytest -p no:datatest_devel
Distributed under the terms of the MIT license, “pytest-datatest” is free and open source software
If you encounter any problems, please file an issue along with a detailed description.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|pytest_datatest-0.1.1-py2.py3-none-any.whl (7.7 kB) Copy SHA256 hash SHA256||Wheel||py2.py3||Apr 7, 2018|
|pytest-datatest-0.1.1.tar.gz (6.0 kB) Copy SHA256 hash SHA256||Source||None||Apr 7, 2018|