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
  1. Run all tests. The new test should fail for expected reasons
  1. Write the simplest code that passes the new test
  1. All tests should now pass
  1. Refactor as needed, using tests after each refactor to ensure that functionality is preserved

Repeat.

Here are 206 public repositories matching this topic...

This quotes app targets Android, iOS and Desktop platforms, and is developed using Kotlin Multiplatform, JetBrains Compose Multiplatform, App Modularization, Clean Architecture and other Jetpack Components and multiplatform libraries.

  • Updated Aug 3, 2023
  • Kotlin

Created by Kent Beck, D.D. McCracken

Released 1957

Followers
47 followers
Wikipedia
Wikipedia

Related Topics

atdd bdd continuous-testing extreme-programming testing