Testing Pyramid

Noun · Development

Definitions

  1. A testing strategy model shaped like a pyramid: a broad base of fast, cheap unit tests, a middle layer of integration tests, and a narrow top of slow, expensive end-to-end tests — emphasizing that most coverage should come from the lower layers.

    In plain English: A guideline that says you should have lots of small, quick tests and only a few big, slow ones.

    Example: "We inverted the testing pyramid and now have 500 Selenium tests and 12 unit tests — CI takes an hour."

Related Terms