It's closer to a repl with save state and replay. A repl will get the code working faster than tests but doesn't easily allow rechecking the same stuff later when things change (either your code or the users of it). I haven't seen a repl with save&replay but that might be a really efficient way to write the unit tests.