阅读背景:

如何让pytest在已安装的模块中发现并运行doctests?

来源:互联网 

I am adding unit tests and to a kind of "legacy" Python package. Some of the modules contain their own doctests embedded in docstrings. My goal is to run both those doctests and new, dedicated unit tests.I am adding unit tests and to a kind of "legacy




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: