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

Make it possible to flush output via newline in between tests #1347

Open
onsi opened this issue Feb 2, 2024 · 2 comments
Open

Make it possible to flush output via newline in between tests #1347

onsi opened this issue Feb 2, 2024 · 2 comments

Comments

@onsi
Copy link
Owner

onsi commented Feb 2, 2024

Some CI systems only flush output when a newline is observed. This makes it hard to see Ginkgo's progress when running without -v. A new mode that forces Ginkgo to emit a newline between each spec report (even if that report is just "o") would resolve this.

/cc @pohly

@pohly
Copy link
Contributor

pohly commented Feb 3, 2024

This is the gist of it. Note that we haven't actually verified that a newline will help, but it seems likely.

While you are at it, a mode where not even the o or S gets printed might also be useful. When I run -focus=one-particular-test, the screen fills up with S characters simply because we have so many tests in the Kubernetes E2E suite.

@pohly
Copy link
Contributor

pohly commented Feb 4, 2024

Or make it so that just the S gets skipped (pun intended). The o is useful when running a few 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

No branches or pull requests

2 participants