Component Test

Noun · Development

Definitions

  1. A test that exercises a single component in relative isolation, often verifying rendering, props handling, state changes, and user interactions without requiring the full application stack. Component tests sit between unit and end-to-end tests by validating realistic behavior on a bounded piece of UI or logic.

    In plain English: A test focused on one component and its behavior.

    Example: "The team added a component test for the date picker so timezone edge cases were caught without spinning up the whole booking app."

Related Terms