Skip to content

Commit

Permalink
Readme notes
Browse files Browse the repository at this point in the history
  • Loading branch information
tmathern committed Nov 21, 2024
1 parent 7f9607f commit 7a2dcda
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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
Expand Down

0 comments on commit 7a2dcda

Please sign in to comment.