TDD - Test Driven Development

Test-driven development (TDD) is a software development process that relies on the repetition of a very short development cycle: requirements are turned into very specific test cases, then the software is improved to pass the new tests, only. This is opposed to software development that allows software to be added that is not proven to meet requirements.

TDD Cycle

  • Add a test
  • Run all tests and see if the new test fails
  • Write the code to pass the new test
  • Run tests
  • Refactor
  • Repeat

React.js

Comments

⬆︎TOP