Skip to content

Improve GitHub actions reporter with test name if set in config #9992

@tolu

Description

@tolu

Clear and concise description of the problem

I'm primarily working in monorepos where we have multiple test suites running, and even though I love the new GitHub actions reporter I'd think it'd be improved by adding the (optional) name from config to the report to avoid this somewhat confusing summary from 3 different apps in the repo (I you dont keep track of the number of tests ofc):

Image

Suggested solution

If name is set in the vitest-config, add that to the end of the header of the report in parenthesis.

Alternative

Expose customizable test report headers via reporter options.

Additional context

I'd be happy to give this a go if any of these suggestions sounds like something the team would accept.

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    p2-edge-caseBug, but has workaround or limited in scope (priority)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions