开发者

Test framework with automated email notification for python

开发者 https://www.devze.com 2023-04-01 06:04 出处:网络
I\'m looking for a test framework for Python that will automatically email me if a test fails, with the name of the broken test and the broken test output. I understand it\'s fairly trivial to wrap a

I'm looking for a test framework for Python that will automatically email me if a test fails, with the name of the broken test and the broken test output. I understand it's fairly trivial to wrap a testing library in a try/catch block, but I was surprised that I couldn't find frameworks that support this out of the box开发者_如何学Python. Was I not looking hard enough, or am I taking the wrong approach to running tests? I am pretty new to the test process.

Thanks, Kevin


If I understand correctly that you want your tests run automatically and have the emails sent to you because you aren't there to run them, buildbot is the tool: it can run tests whenever you commit to the repository, and on failure can alert you via email, IRC message, etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消