-
Notifications
You must be signed in to change notification settings - Fork 1
Open
12 / 1212 of 12 issues completedDescription
Test Coding Rule
- Do not use
classin test code. Always prefer plainfunctionstyle, even for mocks. - Ensure comprehensive test coverage, including extreme edge cases.
- No comments in the code.
- No corresponding URLs in the code.
Test File Path Rule
- Place test files next to the target files instead of creating a separate tests folder. Do not use dedicated test directories like
tests/or__tests__ - Name test files with the pattern
test_{original_filename}.py
Test Constant Rule
- Use
OWNERintests/constants.pyfor an owner - Use
REPOintests/constants.pyfor a repo - Use
FORKED_REPOintests/constants.pyfor a forked repo if necessary - Use
TOKENintests/constants.pyfor a token - If you introduce any test constant used more than once, define it in tests/constants.py and reference it from there.
Sub-issues
Metadata
Metadata
Assignees
Labels
No labels