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 254 public repositories matching this topic...

    Autonomous agent substrate for Claude Code CLI. Research→Plan→Implement workflows with quality gates, TDD enforcement, and multi-agent coordination. 4.8-5.5x faster development. Built on Anthropic's engineering research.

    • Updated Nov 23, 2025
    • Shell

    Install engineering discipline into any AI coding assistant. Composable skills for design, implementation, review, and team standards. Better process, not just better prompts.

    • Updated Jul 6, 2026
    • Shell

    Turns issues into merged PRs/MRs with zero human intervention — supports GitHub and GitLab, and Claude Code, Codex CLI, Kiro CLI, Antigravitiy CLI, opencode, and other agent CLIs.

    • Updated Aug 14, 2026
    • Shell

    Created by Kent Beck, D.D. McCracken

    Released 1957

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

    Related topics

    atdd bdd continuous-testing extreme-programming testing