Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 974 Bytes

CONTRIBUTING.rst

File metadata and controls

38 lines (22 loc) · 974 Bytes

Version Updates

This project uses semantic versioning. Update version in multivolumecopy.__init__.py , and add summary of changes to VERSION_HIST.yml

Testing

Run tests using tox. (you'll need to install it with pip, or your os's package manager)

tox                        # run tests in all environments
tox -e py38                # run python-3.8 only
tox -- {pytest arguments}  # run tests and pass args to pytest

I like to use the virtualenv created by tox for running my own tests

tox -e py38                                  # run tests, and create venv
./.tox/py38/bin/pytest -k 'target_test' -vv  # run tests from venv (skipping tox)

Interactive Testing

If you're using linux, I wrote a quick script to generate some dummy data and interactively test the program.

python tests/interactive/test_interactively.py