Updated testing methodology to not create test scripts and just test in main code.
This commit is contained in:
@@ -137,10 +137,8 @@ services:
|
||||
|
||||
## Testing
|
||||
|
||||
- Use **pytest** with **pytest-asyncio** for async tests
|
||||
- Always provide a test for each router endpoint at minimum (happy path + 1 failure case)
|
||||
- Use a separate test database — never run tests against the real DB
|
||||
- Run with: `pytest -v`
|
||||
- Do **not** create test files — I'll run the code directly to verify it works
|
||||
- If asked to write tests, use **pytest** with **pytest-asyncio**; use a separate test DB, never the real one
|
||||
|
||||
## Comments
|
||||
|
||||
|
||||
Reference in New Issue
Block a user