- Add 60 new agents across all 10 categories (75 -> 135) - Add 95 new plugins with command files (25 -> 120) - Update all agents to use model: opus - Update README with complete plugin/agent tables - Update marketplace.json with all 120 plugins
1.2 KiB
1.2 KiB
Generate integration tests verifying component interactions and real data flows.
Steps
- Identify integration boundaries in the target module (database, APIs, message queues).
- Detect the test framework and available test utilities (supertest, testcontainers, etc.).
- Set up test infrastructure:
- Database: Use test database or in-memory alternative.
- APIs: Use test server or recorded responses.
- Queues: Use in-process implementations.
- For each integration point:
- Test the complete request-response cycle.
- Verify data persistence and retrieval.
- Test error propagation across boundaries.
- Verify retry and timeout behavior.
- Add setup and teardown for shared resources.
- Run tests and verify they pass in isolation and in sequence.
Format
Generated: <N> integration tests in <file>
Infrastructure: <services required>
Tests:
- <scenario>: <what it verifies>
Rules
- Integration tests should exercise real code paths, not mocked abstractions.
- Clean up test data in teardown hooks to prevent test pollution.
- Use transactions or database snapshots for fast rollback.
- Set appropriate timeouts for network-dependent tests.
- Name files with
.integration.testsuffix to separate from unit tests.