Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I make the failure title is not 0? #72

Open
juanWZH opened this issue Oct 28, 2020 · 2 comments
Open

How can I make the failure title is not 0? #72

juanWZH opened this issue Oct 28, 2020 · 2 comments

Comments

@juanWZH
Copy link

juanWZH commented Oct 28, 2020

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

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
Copy link
Author

juanWZH commented Jan 15, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants