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

Distinguish between Mocks and Fakes inside tests #2401

Open
martinhaintz opened this issue Nov 11, 2024 · 0 comments
Open

Distinguish between Mocks and Fakes inside tests #2401

martinhaintz opened this issue Nov 11, 2024 · 0 comments

Comments

@martinhaintz
Copy link
Collaborator

Description

Hello,

in the test section, there is no differentiation between Mocks and Fakes. The word Mock is used for both Fakes(Implementation of classes) and Mocks(abstract classes).

  • Mocks should only be abstract classes, which should be mockable in tests and don`t have implemented methods.

  • Fakes should be minimal working implementation of classes.

In the mockito package are some samples for Mocks and Fakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant