Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Agents

## Useful Resources

- [TESTING.md](TESTING.md)
- [CONTRIBUTING.md](CONTRIBUTING.md)
4 changes: 4 additions & 0 deletions TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,7 @@ Stream delivery tests fail in CI unless `MEMORY_KINESIS_ARN` and `MEMORY_ROLE_AR
- Each test class should correspond to the object under test (e.g. `TestMemoryClient`).
- Expensive resources (e.g. memories) should be created the minimum number of times, ideally once in `setup_class`.
- All resources created during tests must be cleaned up in `teardown_class`.

## Anti-Patterns

**Excessive mocking.** Over-mocking weakens correctness guarantees and couples tests to implementation details. Functionality that requires mocking should have integration or e2e test coverage.
Loading