Skip to content

Commit a9ce937

Browse files
committed
Add AGENTS.md file
1 parent 1f3dc69 commit a9ce937

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

AGENTS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Testing instructions
2+
3+
- Follow the Arrange, Act, Assert structure when writing unit tests.
4+
- When writing unit tests, create individual unit tests that cover each logical branching in the code.
5+
- For the happy path, can we have a single unit test where in the all the top level if conditions are executed? Maybe this might help with reducing the number of total unit tests created and still give same test coverage.
6+
- For the tests for edge cases do not create separate describe blocks, keep the hierarchy flat.
7+
- For the tests for edge cases, do not skip assertions, its still worth adding all assertions similar to the happy paths tests.
8+

0 commit comments

Comments
 (0)