Skip to content
public-library›Rules›Testing›Test observable behavior

Test observable behavior

HIGH#testing Sign in to star Test observable behavior, 0 stars

Sign in to star rules

Star this rule if you find it useful.

Test the behavior a unit exposes to its callers or users, not the private steps that implement it. Arrange a controlled starting state, perform the behavior through the interface callers use, and assert the results that establish it.

In the full rule