Testability

Noun · Development

Definitions

  1. The degree to which a software component can be effectively and efficiently tested, determined by factors like dependency injection, separation of concerns, deterministic behavior, and the ability to observe internal state.

    In plain English: How easy or hard it is to write good tests for a piece of code, based on how that code is structured.

    Example: "Hardcoding the HTTP client killed testability — once we injected it, writing unit tests became trivial."

Related Terms