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

Jest HTML Reporter with Jest Runner Groups dependency #304

Open
bernreccion opened this issue Mar 15, 2024 · 0 comments
Open

Jest HTML Reporter with Jest Runner Groups dependency #304

bernreccion opened this issue Mar 15, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@bernreccion
Copy link

Is your feature request related to a problem? Please describe.
In my project, i used jest runner groups dependency which allows me to tag test files and execute specific group of tests. However, if i run the script that only executes with a tag on it, the generated report's test suites total will be the overall number of my test files, not the number of test files that i executed.

Describe the solution you'd like
update logic if a user uses jest runner groups dependency (fix count)

Describe alternatives you've considered
i dont see any alternatives

Additional context
In this example, i have a single test file with a group tag of "testGroup" and 2 test blocks on it
image

when the report is generated, the test suites total doesn't match and I think the test suites total should be based on the number of grouped test files using the dependency, which for me makes more sense
image
image

@bernreccion bernreccion added the enhancement New feature or request label Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants