From 21f433e4c998dfdb1cefb053cba272eed5cbd4cc Mon Sep 17 00:00:00 2001 From: GCHQDeveloper581 <63102987+GCHQDeveloper581@users.noreply.github.com> Date: Wed, 18 Mar 2026 15:35:29 +0000 Subject: [PATCH] Add requirements for testing --- Contributing.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Contributing.md b/Contributing.md index c587c89..0dfd63f 100644 --- a/Contributing.md +++ b/Contributing.md @@ -17,6 +17,13 @@ Before your contributions can be accepted, you must: * All source files must end with a newline * Line endings: UNIX style (\n) +## Testing + +All Pull Requests should, unless impossible/impractical, contain tests for the new functionality. + +For a new feature this should be a basic smoke test of the feature plus tests for edge cases and for parameter changes. + +For a bug fix there should be at least one test that fails without the fix and passes with it. ## Design Principles