Skip to content

Conversation

@Liam-Rougoor
Copy link
Contributor

Closes #3126

### `exclude-test-files-in-report` <`flag`>

Default: `false`
Command line: `exclude-test-files-in-report`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is needed as a command line option. Either your project is too large to be able to include unit test results, or it's not. That sounds like static config to me.

@sonarqubecloud
Copy link


If HTML and/or JSON reporting is being used you can use this option to change the report file name.

### `exclude-test-files-in-report` <`flag`>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of a separate option, perhaps we could split the reporters into source and test reporters?

@rouke-broersma
Copy link
Member

I'm wondering what we can do to improve our serialization performance so that this option is not neccesary.

@dupdob dupdob added the Area: CLI CLI and options related label Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: CLI CLI and options related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option to skip unit test results in json/html report

4 participants