-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Add note about fake/stub/mock terminology #51039
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
Conversation
Adds a short note explaining that the terms fake, stub, and mock are used inconsistently across testing literature and that this section follows a common .NET usage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a NOTE callout to clarify the inconsistent usage of testing terminology (fake, stub, and mock) across different testing literature and tools. The note explains that the document follows common .NET usage and contrasts it with classic xUnit/test-double terminology from Fowler and Meszaros.
Changes:
- Added a NOTE block in the "Unit testing terminology" section to provide context about terminology inconsistencies and explain the definitions used in this document
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
Summary
Adds a short note explaining that the terms fake, stub, and mock are used inconsistently across testing literature and that this section follows a common .NET usage.
Internal previews