diff --git a/README.md b/README.md index 4dce63e..c64b5fc 100644 --- a/README.md +++ b/README.md @@ -358,7 +358,7 @@ auditwheel repair target/wheels/c2pa_python-0.4.0-py3-none-linux_aarch64.whl ### Testing -We use [PyTest](https://docs.pytest.org/) for testing. +We use [PyTest](https://docs.pytest.org/) and [unittest](https://docs.python.org/3/library/unittest.html) for testing. Run tests by following these steps: @@ -377,6 +377,23 @@ python3 tests/training.py deactivate ``` +#### Testing during bindings development + +While developing bindings locally, we recommend you rely on [unittest](https://docs.python.org/3/library/unittest.html), as [PyTest](https://docs.pytest.org/) can get confused by virtual environment redeployments (especially if you bump the version number). + +To run tests while developing bindings, you can run: + +```sh +make test +``` + +If you want to rebuild and test, run: + +```sh +make build-python +make test +``` + ## Release notes ### Version 0.5.2