2 ms·
The thing those people miss is that "tested in the REPL" means tested once, and tests are there to be rerun many times, basically any time something is changed.
by Jtsummers 6y ago
The thing those people miss is that "tested in the REPL" means tested once, and tests are there to be rerun many times, basically any time something is changed. You write your first test in the REPL, and then you transfer those tests to a proper test suite so you can reevaluate them all quickly. And because you ran it in the REPL, you also have a way to easily grab what should be the correct value.