-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
topic: configrelated to config handling, argument parsing and config filerelated to config handling, argument parsing and config filetopic: reportingrelated to terminal output and user-facing messages and errorsrelated to terminal output and user-facing messages and errorstype: proposalproposal for a new feature, often to gather opinions or design the API around the new featureproposal for a new feature, often to gather opinions or design the API around the new feature
Description
Currently -v
controls both terminal verbosity (how to display test session progress in the terminal) and diff verbosity (how verbose is our diffs when assertions fail).
I've often wanted to increase diff verbosity while also keeping terminal verbosity at the normal level, but this is not possible today.
Proposal
Introduce a new option that controls only diff verbosity (for discussion here -dv
, but please let's bikeshed on this).
For backward compatibility reasons, -v
keeps controlling both terminal verbosity and diff verbosity, but -dv
can be used to increase diff verbosity independently.
-v
: when used, increase both terminal verbosity and diff verbosity.-dv
: when used, increase diff verbosity only (we also need the equivalent of-q
for diff verbosity).
With -dv
in place, we might even consider changing to a higher level of diff verbosity in the future by default, but that remains to be seen.
blueyed, l0b0, sammorley-short, iliakur, sathnaga and 3 more
Metadata
Metadata
Assignees
Labels
topic: configrelated to config handling, argument parsing and config filerelated to config handling, argument parsing and config filetopic: reportingrelated to terminal output and user-facing messages and errorsrelated to terminal output and user-facing messages and errorstype: proposalproposal for a new feature, often to gather opinions or design the API around the new featureproposal for a new feature, often to gather opinions or design the API around the new feature