Re:REPL-Driven Development (2017)
by crdoconnor on Tuesday February 06, 2018 @03:09PM
(#16319129)
I write integration tests, as I mentioned in the first post and realistic ones as mentioned in the second. I try not to write unit tests because, as you mentioned, they are unrealistic (among other reasons), and unrealistic tests tend not to catch bugs.
That said, a high level 'unit test' (e.g. one that manufactures a request and checks its response) is often realistic enough and works pretty well with IPython.embed().
But you are welcome to do what works for you. Maybe you work on something more suited to your approach. My approach works better for what I do.