A unit test ought to be isolated. Which option accurately defines “isolated” as a characteristic of a unit test?
An isolated unit test verifies the behavior or functionality of one unit independently of unrelated components and dependencies, which are typically replaced with test doubles when necessary. Consistent outcomes under identical conditions describe repeatability, and immediate feedback describes execution speed.
Community Discussion