On Friday, 23 March 2018 at 00:47:20 UTC, Tony wrote:
I think unittest blocks are good for write-once and quick-and-dirty projects, or as a first-cut of testing that ultimately gets moved to a full-grown test suite in a separate project. I'd prefer not to read source code that has unittest blocks inter-mixed with the actual code.

I partially agree with this.

It's really annoying if you have to look for an implementation and then half the module is unittests and searching isn't always straightforward.

Reply via email to