Skip to content
#

test-driven-development

Test-driven development (TDD) is a software development process relying on software requirements being converted to test cases before software is fully developed, and tracking all software development by repeatedly testing the software against all test cases. This is as opposed to software being developed first and test cases created later. Programmers also apply the concept to improving and debugging legacy code developed with older techniques.

Process

  1. Add a test
  2. Run all tests. The new test should fail for expected reasons
  3. Write the simplest code that passes the new test
  4. All tests should now pass
  5. Refactor as needed, using tests after each refactor to ensure that functionality is preserved
  6. Repeat.

    Here are 156 public repositories matching this topic...

    bitloops-language

    Open-source transpiled programming language that helps you write clean code, well-designed systems, and build high-quality software that is testable, auditable and maintainable. Like what you see? Don't forget to star! ⭐ ^^^

    • Updated Jul 9, 2025
    • TypeScript

    PIXI v8, v7, v6 compatible: inspired by Unity, reactive Game Framework: GameObject, StateMachine, CircleBody, PolygonBody, Physics, Sprite, Container, Animator, TextureAtlas, Resources loading

    • Updated Jun 7, 2025
    • TypeScript

    Created by Kent Beck, D.D. McCracken

    Released 1957

    Followers
    56 followers
    Website
    github.com/topics/tdd
    Wikipedia
    Wikipedia

    Related Topics

    atdd bdd continuous-testing extreme-programming testing