문제

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. 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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top