On 2018-07-27 00:50, David Mertz wrote:
I often use doctests to verify APIs and behaviors when I update code. I know I'm in a minority and most developers slightly disparage doctests.
If it makes you feel better, SageMath development uses only doctests for testing. We have over 300000 doctests and it works great! We do use a customized doctesting framework though.