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 1,140 public repositories matching this topic...
Java OOP Module
-
Updated
Jan 9, 2023 - Java
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
Proyecto Android donde se aplica TDD para crear una App donde se obtiene una lista de películas y el detalle de estas
-
Updated
Feb 6, 2019 - Java
Mob programming for console game of tic-tac-toe created using TDD approach
-
Updated
Feb 24, 2017 - Java
-
Updated
Apr 23, 2019 - Java
Focus is on MVP, and testing for an MVP architecture. This project gives a good a example of the benefits of implementing an MVP architecture with automated testing and TDD. This project showcases two sides of testing: Espresso and JUnit tests. JUnit test suites examples are shown using mocked objects with the @mock annotation. Activity rules ar…
-
Updated
Jan 16, 2019 - Java
Curso realizado na plataforma Alura, aplicando boas práticas com teste de unidade e Test Driven Development(TDD). Escrevendo bons testes, filtrando classes de equivalência e conhecendo conceitos de desenvolvimento guiado por testes.
-
Updated
Aug 30, 2018 - Java
Rest API + SpringBoot + Spring Security JWT + Spring Data + Swagger-ui + Exception Handler + JUnit + Mockito + Rest Template + MySql + H2
-
Updated
Apr 26, 2021 - Java
-
Updated
Jul 2, 2018 - Java
Practical exercises, done in pairs and groups, interspersed with short presentations, discussions and demonstrations of techniques.
-
Updated
Jan 14, 2020 - Java
Created by Kent Beck, D.D. McCracken
Released 1957
- Followers
- 47 followers
- Wikipedia
- Wikipedia