Skip to content

Add quiet option when executing tests in order to reduce the output message sizeΒ #1087

Description

@ErdlingProductions

This is a feature request.

I execute test:all frequently, which generates a lot of output, which at least I mostly ignore anyways, as long as the tests pass.

In order to make the output shorter/clearer/simpler, I'd like to suggest to add a --quiet (or similar) option. This option would reduce the output from

πŸ‘Ÿ Mocking
----------
Generating mock for foo.h...
...
...
...
πŸ‘Ÿ Preprocessing Test Files
---------------------------
Preprocessing foo.c...
...
...
...
πŸ‘Ÿ Collecting Test Context
--------------------------
Parsing test case names foo.c...
...
...
...

to

...
πŸ‘Ÿ Mocking...
πŸ‘Ÿ Preprocessing Test Files...
πŸ‘Ÿ Collecting Test Context...
...

This would still show to the user what is going on, but reduce the output drastically. When errors occur, the test can be rerun without the --quiet flag. The overall test summary should be shown as usual at the end.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions