DEV Community

loading...

Discussion on: A Different Unit Test Pattern

Collapse
peerreynders profile image
peerreynders • Edited

If this pattern was so cool, why haven't I seen this pattern somewhere before?

My interpretation is that this is an implementation of the Fresh Fixture xUnit pattern - documented even before 2007 when xUnit Test Patterns: Refactoring Test Code was published.

See also: Principle: Verify One Condition per Test