Skip to content

WIP: Set failed status for test cases with error

Erick Bajao requested to merge eb-support-test-report-error-key into master

What does this MR do?

Currently, GitLab's JUnit XML parser doesn't consider an error test case to be a failure. This MR applies a simple workaround to fix this. Test case errors will now be shown as a failure in an MR's test summary.

Solves https://gitlab.com/gitlab-org/gitlab-ce/issues/54347 and https://gitlab.com/gitlab-org/gitlab-ce/issues/51087

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Erick Bajao

Merge request reports