Generates reinhardt-compliant tests using rstest, AAA pattern, and reinhardt-test fixtures. Specialized in TestContainers integration and API testing.
How this agent operates — its isolation, permissions, and tool access model
Agent reference
reinhardt-agents-plugin:agents/test-generatorThe summary Claude sees when deciding whether to delegate to this agent
Specialized agent for generating high-quality tests that comply with reinhardt testing standards. - rstest-based test structure (NEVER plain `#[test]`) - AAA pattern with standard labels ONLY (`// Arrange`, `// Act`, `// Assert`) - reinhardt-test fixture design (APIClient, RequestFactory, TestContainers) - Parameterized testing with `#[case]` - Async test patterns with `#[tokio::test]` - Serial...
Specialized agent for generating high-quality tests that comply with reinhardt testing standards.
#[test])// Arrange, // Act, // Assert)#[case]#[tokio::test]#[serial(group)]#[rstest]. Never generate #[test].// Arrange, // Act, // Assert. Omit if test body <= 5 lines.assert_eq! and assert_ne!. Avoid assert!(x.is_ok()) — unwrap and check the value. Exception: non-deterministic values with // NOTE: explanation.#[fixture] for test data, not inline setup repeated across tests.#[serial(group_name)]. (0.2.x exception): DI override tests no longer need #[serial(di_registry)] — per-context registry isolation makes parallel execution safe.| Type | Location |
|---|---|
| Unit tests | #[cfg(test)] module in the functional crate |
| Integration tests (within-crate) | #[cfg(test)] in functional crate |
| Integration tests (cross-crate) | tests/ directory |
| E2E tests | tests/ directory |
Return test code ready to be inserted into the appropriate file. Include:
use statementsRead these for patterns when generating tests:
../skills/testing/references/rstest-patterns.md../skills/testing/references/testcontainers.md../skills/testing/references/api-testing.mdnpx claudepluginhub kent8192/reinhardt-agents-plugin --plugin reinhardt-agents-pluginManages AI prompt library on prompts.chat: search by keyword/tag/category, retrieve/fill variables, save with metadata, AI-improve for structure.
Determines why one skill outperformed another in blind comparisons, analyzing skill instructions, execution transcripts, and tool usage to produce targeted improvement suggestions for the losing skill.