Skip to content

CI/CD reporting for GitLab (junit) #3985

@rchoffardet

Description

@rchoffardet

Hello 👋
Firstable, thanks for the amount of work invested in this new test framework!
I'm considering adopting it for my projects, but I'm on GitLab and would very much like to be able to the failing tests right away, like so :
Image
This is only possible if GitLab can parse the generated artifacts.

The doc claims that passing --report-trx will work with GitLab CI/CD, but the GitLab's doc claims that only the junit format is accepted.

I hoped for the best and migrated my tests anyway, but even though the files are generated and detected, they are not parsed properly :/
(Prior to the migration i was using JunitXml.TestLogger which supports VSTest platform and not the Microsoft.Testing.Platform)

Is there an option to change the output format to JUnit format? Or a known workaround?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions