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

Simultaneously output TAP to a file and the regular reporter to the console #3342

Open
dmurvihill opened this issue Sep 9, 2024 · 2 comments
Labels

Comments

@dmurvihill
Copy link

dmurvihill commented Sep 9, 2024

I want to spit out a TAP so that I can get machine-generated reports and stuff, but AVA's built-in reporter is way more human-readable than any of the existing TAP parsers (also, TAP seems to be nearly a dead format with most parsers having no changes in the last 8 years). I'd love to have a flag --tap ava-results.tap which would tee the results in TAP format while still emitting from the default reporter. The current behavior of --tap without any flag could still replace the default reporter, as could --tap -.

@novemberborn
Copy link
Member

I'd love to expose AVA's richer internal data and have separate reporters that can be piped into, but that's unlikely to get done any time soon.

Even with that approach, teeing the richer data to a file would still be useful, so I'm not opposed to establishing that feature with the current TAP reporter.

Hopefully the internals allow for two simultaneous reporters to be active!

@novemberborn novemberborn added enhancement new functionality scope:reporters and removed question labels Sep 18, 2024
@dmurvihill
Copy link
Author

dmurvihill commented Sep 18, 2024

I'd love to expose AVA's richer internal data and have separate reporters that can be piped into, but that's unlikely to get done any time soon.

Might I suggest (and I know this is a bunch of extra work) trying to get together with a couple of other test runner maintainers to come up with a standard format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants