Test Driven Development

The concept of testing that can be describes by idea “tests first”:

  • Add test for specific feature
    • Test should be failed (red)
  • Write a code of the feature
    • Test should be successful/passed (green)
  • Refactoring
    • Tests must be green
  • Repeat