Skip to content

ecmarsh/money

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TDD Money-Example

tested with jest

  1. 🖇→ 📎

Adapted from Beck's Test-Driven Dev

Unfinished code, but exemplifies process and benefits. Allows confidence in refactoring, but doesn't replace testing performance, stress, and usability.

Coverage isn't a sufficient measure of test quality, so does not always need to be 100%, but often leads to near complete coverage. Typically results in approximiately equal lines of test code & production code.

For this example, we finished with:

Ending coverage