Test-Driven Development

Noun · Development

Definitions

  1. A software development methodology where you write a failing test before writing the production code that makes it pass. The cycle is red (fail), green (pass), refactor — repeated for each small increment of functionality.

    In plain English: Writing the test for your code before you write the actual code, so you always know exactly what your code is supposed to do.

    Example: "TDD felt slow at first, but after six months the codebase has almost zero regressions."

Related Terms