How can I make the failure title is not 0?
juanWZH opened this issue · comments
juanWZH commented
I want to judge a failure testcase using junit-xml v1.0, how can I make the failure title is not 0 in testsuite?
ClementDelannoySlateDigital commented
You can use the add_failure_info function of TestCase. You have the same kind of functions add_error_info and add_skipped_info.
Not the easiest and most intuitive at first, but everything is there :)
juanWZH commented
cool, I got it!thx!
| |
王子豪
|
|
邮箱:13681272894@163.com
|
签名由 网易邮箱大师 定制
On 01/15/2021 22:03, ClementDelannoySlateDigital wrote:
You can use the add_failure_info function of TestCase. You have the same kind of functions add_error_info and add_skipped_info.
Not the easiest and most intuitive at first, but everything is there :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.