From ee05039c7e0ab8c5685d67239cd178176a82d1a8 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Thu, 7 Nov 2024 09:16:41 +0100 Subject: [PATCH] [DOCS] Add a section on testing to `CONTRIBUTING.md` This change mirrors exactly what we already have at our sister project. --- CONTRIBUTING.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 899a8e2f..3b010446 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -71,3 +71,14 @@ You can then run the following command: phive install ``` +## Unit-test your changes + +Please cover all changes with unit tests and make sure that your code does not +break any existing tests. We will only merge pull requests that include full +code coverage of the fixed bugs and the new features. + +To run the existing PHPUnit tests, run this command: + +```bash +composer ci:tests:unit +```