Skip to content

Commit 3f601d1

Browse files
authored
chore: Improve copilot instructions for tests (#225)
1 parent 6ae49cc commit 3f601d1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
applyTo: tests/**/*.py
3+
---
4+
5+
# Testing Guidelines
6+
7+
- Instead of writing new tests, existing tests should ideally be parametrized using `@pytest.mark.parametrize`
8+
unless the parametrization is impractical, e.g. by adding more parameters
9+
- Tests should not use docstrings unless they are _very_ complex

0 commit comments

Comments
 (0)