diff --git a/.github/instructions/tests.instructions.md b/.github/instructions/tests.instructions.md new file mode 100644 index 0000000..78fade3 --- /dev/null +++ b/.github/instructions/tests.instructions.md @@ -0,0 +1,9 @@ +--- +applyTo: tests/**/*.py +--- + +# Testing Guidelines + +- Instead of writing new tests, existing tests should ideally be parametrized using `@pytest.mark.parametrize` + unless the parametrization is impractical, e.g. by adding more parameters +- Tests should not use docstrings unless they are _very_ complex