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

Feature: Support for a simplified ginkgo outline output w/out setup containers #1146

Open
Dannyb48 opened this issue Feb 23, 2023 · 1 comment

Comments

@Dannyb48
Copy link
Contributor

Would you be willing to support a feature where in the ginkgo outline command we could pass a --simple flag that would allow us to strip away any of the setup containers from the outline output?

The idea is to create a more simplified output that is similar to a BDD style spec output that I can present to my non-technical stake holders. Since the setup containers don't really have any crucial text it would be great to strip that out.

I have post-processing code to strip this out of when I capture the outline output but it would simplify my processing if we pushed this into the outline command.

@onsi
Copy link
Owner

onsi commented Feb 25, 2023

hey @Dannyb48 - i'm of two minds. on the one hand, the elegance of these kinds of machine readable formats is that downstream users can post-process them (as you've done) to fit their needs so we don't have to add lots of complexity/one-offs to Ginkgo. on the other hand, i get that it would be simpler/easier for you if the tool Just Worked™.

with that said, I think i'd want something that's a bit more well-defined than --simple. perhaps --without-setup-nodes or --only-textual-nodes

Thoughts? if you're up for writing the PR I think something like --without-setup-nodes or --only-textual-nodes would be fine.

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