Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show how to ignore class level params in NUnit tests #1241

Closed
wants to merge 1 commit into from

Conversation

tom-englert
Copy link
Contributor

IgnoreParametersForVerified only works on method params, not class params.

This PR adds tests that show a workaround, using a combination of UseTypeName and DisableRequireUniquePrefix, to remove the class params from the output file name.

@SimonCropp
Copy link
Member

@tom-englert yeah that is a poor implementation on my part. you should not need to hack around it

thoughts on this as a better fix #1249 ?

@tom-englert
Copy link
Contributor Author

This workaround was fine for my simple use case, however #1249 would be more comprehensive.

@SimonCropp
Copy link
Member

deploying v26 now

@SimonCropp SimonCropp closed this Jul 20, 2024
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