Skip to content
public-library›Rules›Testing›Test at the lowest layer that proves the behavior

Test at the lowest layer that proves the behavior

Prove each behavior with the cheapest kind of test that actually exercises it. Use a higher layer only for behavior that lower layers cannot prove.

In the full rule