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
- Add a test
- Run all tests. The new test should fail for expected reasons
- Write the simplest code that passes the new test
- All tests should now pass
- Refactor as needed, using tests after each refactor to ensure that functionality is preserved
Repeat.
Here are 7,363 public repositories matching this topic...
Practising unit and integration test.
-
Updated
Sep 5, 2023 - JavaScript
Flexible C/C++ Unit Testing framework
-
Updated
Mar 30, 2023 - C
Program files for "Lyft Back-End Engineering Virtual Experience Program" held by Forage
-
Updated
Jun 12, 2023 - Python
Java OOP Module
-
Updated
Jan 9, 2023 - Java
Experiment Design Patterns in Typescript using TDD - Jest
-
Updated
Jan 16, 2024 - TypeScript
These are my notes/code while working through Chad Darby's Spring Boot Unit Testing with JUnit, Mockito and MockMvc Course
-
Updated
Apr 25, 2023 - Java
Practicing logic skills and TDD by solving leetcode challenges using a TDD environment.
-
Updated
Jul 3, 2023 - JavaScript
-
Updated
Sep 28, 2017 - Java
Created by Kent Beck, D.D. McCracken
Released 1957
- Followers
- 48 followers
- Wikipedia
- Wikipedia