Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Human-readable configuration output #1526

Open
Tracked by #1525
sunshowers opened this issue May 27, 2024 · 1 comment
Open
Tracked by #1525

Human-readable configuration output #1526

sunshowers opened this issue May 27, 2024 · 1 comment
Labels
A-configuration Making our configuration better. help wanted Extra attention is needed

Comments

@sunshowers
Copy link
Member

sunshowers commented May 27, 2024

Related:

Users should have a way to tell what settings their tests are running with, and what the overall nextest configuration is.

We have some basic support within cargo nextest show-config, and this issue is to expand and complete that.

Some things to think about with human-readable configuration output:

  • Is show-config enough for common use cases? Do we want to show per-test and per-binary settings in nextest list as well, as an optional thing to include?
  • What's the best place to include this information? For settings by test, nextest list is a good option, as is. For settings by
  • There are a lot of config options that are primarily "group by" operations. Does it make sense to build out some general code for this? Probably easiest to tell after the first 2-3.
  • How similar do we want group-by operations to feel? Subcommands or arguments? (Having subcommands gives us an easy way to specify particular options, but feels a bit more heavyweight. Worth thinking about.)
  • We should also tell users where a particular bit of configuration is coming from. I believe we track the necessary information already, but this should be double-checked.
@sunshowers sunshowers added the help wanted Extra attention is needed label May 27, 2024
@sunshowers
Copy link
Member Author

I don't currently have the time to work on this, but would be happy to work with you to start adding this if you're interested.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-configuration Making our configuration better. help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant