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 request: --verbose flag #202

Open
diamond-lizard opened this issue Oct 8, 2020 · 4 comments
Open

Feature request: --verbose flag #202

diamond-lizard opened this issue Oct 8, 2020 · 4 comments

Comments

@diamond-lizard
Copy link

It would be great if the buttercup executable had a --verbose flag (ideally with selectable levels of verbosity) that would report in detail what buttercup was doing.

This would be very helpful in troubleshooting.

@snogge
Copy link
Collaborator

snogge commented Oct 23, 2020

What would you like to know?
Could you give some examples of what problems you had and how a verbose flag would have helped you?

@diamond-lizard
Copy link
Author

diamond-lizard commented Oct 23, 2020

From memory, it was things like exactly what files buttercup was loading, in what order, whether it encountered any errors in them and what those errors were.

I don't remember exactly what the issue was, but I spent hours troubleshooting it only to finally realize that buttercup wasn't showing errors in some of the files it was loading. If it had just shown me what it was doing and what it was finding, it could have saved a lot of time.

But, in general (as this is not limited to the particular issue I was having at the time), I think it would be useful to know exactly what buttercup is up to when doing troubleshooting. Ideally, how much of this information is reported would vary depending on verbosity settings.

@doublep
Copy link
Contributor

doublep commented Oct 26, 2020

@diamond-lizard Maybe verbose/trace mode in Eldev could be useful? E.g. it prints names of test files as it loads them.

It is a build tool that supports Buttercup among other stuff.

@snogge
Copy link
Collaborator

snogge commented Oct 29, 2020

Related to #107?

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

No branches or pull requests

3 participants