Lightlines
By obra

Testing Anti-Patterns

obra

Tests that check real behavior, not your mocks.

What it does

Guides developers to write tests that verify real behavior without unnecessary mocks or test-only production methods.

When to use it

Use when writing or changing tests, adding mocks, or considering test-only methods in production code.

How to use it

It changes how the agent writes and modifies project tests by requiring real-behavior assertions, informed mocking, and separation of test utilities from production classes.

What you provide

  • An existing project

Latest review

What you need · 0

No setup requirements listed.


Access · 0

No additional actions listed.