Taking out side-effects is one of the best ways to build testable code
Source: To Test A System, Isolate Side-Effects – Fagner Brack – Medium
Stick to the Command-Query Separation principle and your life will be easier.
Pages: 1 2
Taking out side-effects is one of the best ways to build testable code
Source: To Test A System, Isolate Side-Effects – Fagner Brack – Medium
Stick to the Command-Query Separation principle and your life will be easier.