Skip to content

feat(config): add exclude-test-files-in-report option#3179

Open
Liam-Rougoor wants to merge 1 commit intomasterfrom
3126-exclude-test-files-option
Open

feat(config): add exclude-test-files-in-report option#3179
Liam-Rougoor wants to merge 1 commit intomasterfrom
3126-exclude-test-files-option

Conversation

@Liam-Rougoor
Copy link
Copy Markdown
Contributor

Closes #3126

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

Default: `false`
Command line: `exclude-test-files-in-report`
Copy link
Copy Markdown
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
Copy Markdown


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
Copy Markdown
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
Copy Markdown
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

3 participants