Skip to content

Support global IgnoreParameters setting#1701

Merged
SimonCropp merged 3 commits intomainfrom
Support-global-IgnoreParameters-setting
Mar 31, 2026
Merged

Support global IgnoreParameters setting#1701
SimonCropp merged 3 commits intomainfrom
Support-global-IgnoreParameters-setting

Conversation

@SimonCropp
Copy link
Copy Markdown
Member

Add VerifierSettings.IgnoreParameters API and global backing to ignore parameter names across all tests. FileNameBuilder now merges instance-level ignored parameters with VerifierSettings.GlobalIgnoredParameters and validates ignored names against method parameters. Reset logic clears the global ignored set in serialization settings. Update docs (parameterised-*, ignore-parameters.include) to document static IgnoreParameters usage and add StaticSettingsTests/IgnoreParametersTests.cs and its verified file to cover the behavior.

Add VerifierSettings.IgnoreParameters API and global backing to ignore parameter names across all tests. FileNameBuilder now merges instance-level ignored parameters with VerifierSettings.GlobalIgnoredParameters and validates ignored names against method parameters. Reset logic clears the global ignored set in serialization settings. Update docs (parameterised-*, ignore-parameters.include) to document static IgnoreParameters usage and add StaticSettingsTests/IgnoreParametersTests.cs and its verified file to cover the behavior.
@SimonCropp SimonCropp added this to the 31.14.0 milestone Mar 31, 2026
@SimonCropp SimonCropp merged commit 0c9273e into main Mar 31, 2026
1 of 3 checks passed
@SimonCropp SimonCropp deleted the Support-global-IgnoreParameters-setting branch March 31, 2026 06:34
This was referenced Mar 31, 2026
This was referenced Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants