Skip to content
public-library›Rules›Testing›Keep tests independent

Keep tests independent

MEDIUM-HIGH#testing Sign in to star Keep tests independent, 0 stars

Sign in to star rules

Star this rule if you find it useful.

Make each test's outcome depend only on the state it arranges itself. A test should pass when run alone, in any order, and alongside the rest of the suite.

In the full rule