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

Implement a junit reporter for bun test #8019

Open
NateRadebaugh opened this issue Jan 6, 2024 · 4 comments
Open

Implement a junit reporter for bun test #8019

NateRadebaugh opened this issue Jan 6, 2024 · 4 comments
Labels
bun:test Something related to the `bun test` runner enhancement New feature or request

Comments

@NateRadebaugh
Copy link

What is the problem this feature would solve?

For jest parity and integration with Azure DevOps test reporting, we need to be able publish test results as junit.xml

What is the feature you are proposing to solve the problem?

The JUnit XML file format has been made popular by the JUnit project and has since become the de facto standard format to exchange test results between tools.

What alternatives have you considered?

No response

@NateRadebaugh NateRadebaugh added the enhancement New feature or request label Jan 6, 2024
@Electroid Electroid added the bun:test Something related to the `bun test` runner label Jan 8, 2024
@Haratsu
Copy link

Haratsu commented Feb 24, 2024

Would also appreciate this, for the same reason:
Also getting some coverage report that can be used in CI systems to upload Btw here is that questionn just regarding LCOV #4015

Maybe there should be some general feature / epic for most used formats:

Test reports:

  • [*] junit
  • [*] surefire

Coverage Reports:

  • [*] jacoco
  • [*] cobertura
  • [*] lcov
  • ncover

Btw supporting any of those marked with [*] will enable converting reports to other useful formats without loosing information

@jd-apprentice
Copy link

I'm okay with junit and cobertura at least, if someone is doing anything about it and needs help send me a message and I try to help!

@owenizedd
Copy link

Agree at least should have junit and cobertura, right now we have lcov but Gitlab doesn't support it.
I'd also like to help

@KholdStare
Copy link

Chiming in - We want to migrate to bun from yarn + node + jest, and have some infrastructure already set up in CI for test reports, that rely on junit output. This would greatly simplify our migration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bun:test Something related to the `bun test` runner enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants