mirror of
https://github.com/harivansh-afk/veet-code.git
synced 2026-04-15 19:05:19 +00:00
1 KiB
1 KiB
| description | argument-hint | allowed-tools | |
|---|---|---|---|
| Add more test cases to an existing problem |
|
Read, Edit |
Add More Test Cases
Add additional test cases to an existing problem to make it more challenging or cover more edge cases.
Problem
Problem name: $ARGUMENTS (if empty, ask which problem)
Process
-
Read the existing solution.py and tests.py for the problem
-
Analyze what edge cases are NOT covered
-
Ask the user what kind of tests they want:
- Edge cases (empty, single element, boundaries)
- Performance tests (large inputs)
- Tricky cases (duplicates, negative numbers, special characters)
- Custom scenario they describe
-
Add new test functions to tests.py using the Edit tool
Test naming convention
def test_edge_case_{description}():
"""Clear description of what this tests."""
...
def test_tricky_{description}():
"""Description of the tricky scenario."""
...
Do NOT:
- Remove existing tests
- Modify the solution.py
- Add tests that are impossible given the constraints