阅读背景:

有没有将自定义/调试消息添加到python / django unittest.TestCase的失败测试方法细节的方法?

来源:互联网 

I am using unittest.TestCase to write test cases for my django app (which is essentially the same unittest.TestCase from python). Whenever a test method fails, I get the explanation of it in the format below. Is there a way that I can add custom/debug messages to the output of failed test method? to write test case




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

分享到: