Skip to content

Applying test-driven development - TDD with Jest framework

Notifications You must be signed in to change notification settings

eltonrp/jest_tdd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;

Releases

No releases published

Packages

No packages published