diff options
author | Nguyễn Gia Phong <cnx@loang.net> | 2025-05-25 19:05:44 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <cnx@loang.net> | 2025-05-25 19:05:44 +0900 |
commit | 7c888edbb9512e8cc75c302d487b5c2e4eace62c (patch) | |
tree | 07deb8a957be8aa26d2b45a489e43086ed071f78 /README.md | |
parent | 552c60f5fd0395acabfd8320a5372c54df23a5ea (diff) | |
download | scadere-7c888edbb9512e8cc75c302d487b5c2e4eace62c.tar.gz |
Add some basic tests
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md index c7d67e8..9fa6de9 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,20 @@ Options: -h, --help show this help message and exit ``` +## Hacking + +Unit testing is done with [Hypothesis] and [pytest]. Since scadere +does not depend on any Python package, testing can be safely done in-tree: + + PYTHONPATH=src pytest + ## Contributing +Please make sure that patches maintain the full branch [coverage]: + + PYTHONPATH=src coverage run + coverage report + Patches should be sent to [chung@loa.loang.net][loang mailing list] using [`git send-email`][git send-email], with the following configuration: @@ -53,6 +65,9 @@ under the terms of the GNU [Affero General Public License][agplv3] as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. +[Hypothesis]: https://hypothesis.rtfd.io +[pytest]: https://docs.pytest.org +[coverage]: https://coverage.rtfd.io [loang mailing list]: https://loa.loang.net/chung [git send-email]: https://git-send-email.io [agplv3]: https://www.gnu.org/licenses/agpl-3.0.html |