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

Ignoring comparisons using an attribute #3

Closed
serhatzor opened this issue Aug 2, 2021 · 2 comments
Closed

Ignoring comparisons using an attribute #3

serhatzor opened this issue Aug 2, 2021 · 2 comments

Comments

@serhatzor
Copy link

You can add an attribute and then we can use this attribute in our fields to ignore comparisons.

@kbilsted
Copy link
Owner

kbilsted commented Aug 2, 2021

That will be very easy to do, what name should we make the attribute? [Ignore] is nice I think, but it can be confused with the [Ignore] of nunit, mstest, ... that use it for a different purpose. And perhaps it's not a problem..

@serhatzor
Copy link
Author

"With" extension method is very good to ignore fields. For instance, I am using model classes in my test cases and I think that adding an attribute into this models from a testing framework is a good practice. Because the code base should not know any thing about test cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants