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

Add a quieter reporter that only prints information for failures #829

Closed
natebosch opened this issue May 8, 2018 · 6 comments · Fixed by #2190
Closed

Add a quieter reporter that only prints information for failures #829

natebosch opened this issue May 8, 2018 · 6 comments · Fixed by #2190

Comments

@natebosch
Copy link
Member

In places where the "compact" reporter doesn't work it would be nice to have a reporter that only prints when a test fails and then a summary at the end.

@jakemac53
Copy link
Contributor

Note that travis requires some sort of output every 10 minutes, so we would probably need some sort of heartbeat logger that periodically outputs a summary of the status. This would probably be useful anyways and would still be much less noisy than the existing reporters.

@jakemac53
Copy link
Contributor

We could rip out the existing heartbeat logging logic from package:build_runner into a package (or add it to the io or cli_utils package). Or we could just re-implement it.

@grouma
Copy link
Member

grouma commented May 8, 2018

I imagine this would be the reporter that is shipped with the api package.

@dnfield
Copy link
Contributor

dnfield commented Sep 22, 2018

This would be nice for Flutter. The compact reporter doesn't quite manage to print a single line for successes there (at least in some cases, and certainly in our CI logs), and you end up with thousands of lines to sift through.

@dnfield
Copy link
Contributor

dnfield commented Feb 10, 2019

See #982 which isn't quite all of what this asks for but improves the compact reporter wrt my issue.

@natebosch
Copy link
Member Author

Note that travis requires some sort of output every 10 minutes

I don't think github actions has the same requirement, and I think we'l keep using the github reporter for CI. I think we could get by with a strictly failure output initially and wait for a specific request for heartbeat output before implementing it.

natebosch added a commit that referenced this issue Feb 29, 2024
Closes #829

Copies the expanded reporter and test and removes output unrelated to
failed tests.
natebosch added a commit that referenced this issue Mar 4, 2024
Closes #829

Copies the expanded reporter and test and removes output unrelated to
failed tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants