DEV Community

Discussion on: Doctests, the shy giant of testing modules

Collapse
 
perigk profile image
Periklis Gkolias

Thanks for the tips Karl, especially for the dicts, I havent thought to put a case for that.

Regarding coverage and mocks, you are right, they are meant to be mostly for pure functions and not to replace unit tests. But again, this is up to everyone, as with all tools.