Lightlines
By cursor

principle-test-behavior-not-implementation

cursor1.2k installs

Tests that catch bugs and survive refactors.

What it does

Guides test design and review so tests catch broken observable behavior without failing on internal refactors.

When to use it

Use when writing, changing, or deciding whether to keep a test.

How to use it

It changes how the agent writes and reviews project tests, requiring assertions on observable contracts rather than internal implementation.

What you provide

  • An existing project

Latest review

What you need · 0

No setup requirements listed.


Access · 0

No additional actions listed.