To be honest, my development REPL logs have a lot of junk, so it would be extra work to write a clean one, and then make the right assertion (maybe I was looking for "even number" not "exactly 132"). Lisp-y REPLs are friendlier than some, but it would be cool to associate it with something like a notebook where it is easier to update imports/mocks/etc out of order. Cool idea though.
1. Unit testing is a kind of functional testing. On a unit.
2. And regression testing is rerunning your existing functional tests after, say, refactoring, to see if they pass.
Complex? Confusing? Which part of this precisely is confusing?
So if I say 'I wrote a unit test' what kind of test do you expect?
The headline says they're generating unit tests automatically.
Which means I expect that I run a command, and it plops out unit test code. automatically. without my interaction.
The article is about recording repl interactions. that's not automatic.
and really, they look like implementation details? so bad examples? I don't know scheme, so shrug
You gotta pick a better hobby.
In general, I prefer to start writing tests, just enough the tests fail but call the functionality (this makes API design flaws obvious), then actually build the functionality and, finally, make the test conditions reflect what we need.