A common workflow is to run code to test some function in the REPL and then promote it to a test when you are ready, and this process has been the smoothest in lisps, especially since you can create your own test harness if you need to.

Fun fact is that giving AI repls also reduce error rates so much that you can save up to half the tokens/time or more.