How to Make Calculation Tests Simpler and More Expressive with These New Refactorings

1 · freeCodeCamp.org · Feb. 3, 2021, 5:41 p.m.
Tests should be as descriptive as possible, and include calculations, to achieve "Tests as Documentation", and to avoid the "Hard Coded Test Data" smell...