3 ms·
Once you achieve the right result from the function you are writing, you just add that REPL invocation to your test suite. Then you just re-run your tests from
by latte 9y ago
Once you achieve the right result from the function you are writing, you just add that REPL invocation to your test suite. Then you just re-run your tests from time to time as you change the code further.
A REPL makes writing both code and tests easier.
- taude 9y agoThis is exactly my flow. Get the small snippet/function working in the REPL, copy it into the source....move on.