Skip to content

Latest commit

 

History

History
11 lines (11 loc) · 550 Bytes

README.md

File metadata and controls

11 lines (11 loc) · 550 Bytes

Test Driven Development - TDD using Jest Framework

  • Jest is a JavaScript Testing Framework
  • Test Driven Development (TDD) is a software development practice that focuses on creating unit test cases before developing the actual code.
  • The fundamentals are baby steps and unit tests.

Development cycle:

Red, Green, Refactor

  • We wrote a Test that initially doesn't pass (Red),
  • We added a new system functionality,
  • We make the Test pass (Green),
  • We refactored the code for the new functionality (Refactoring),
  • We write the next Test;