Skip to content

Reinforce existing-infrastructure search before creating new test doubles #24

@wtmoose

Description

@wtmoose

Friction
The agent created an inline test error type instead of finding an existing equivalent in a shared test module. The infrastructure guide's "identify existing infrastructure" step was not followed rigorously. The human had to point to the existing file.

Suggestion
Add a checklist item or explicit step to the infrastructure phase: "Before creating any new test double, fixture, or helper, search the test module and all shared test modules for existing equivalents. List what was found (or confirm nothing exists) before proposing new infrastructure." This makes the search auditable and prevents duplication.

Affected files
Guides/Test/unit-test-infrastructure-guide.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions