if I do not use a mock framework to create a mock, but write my own mock which inherits the to be mocked class, and overwrites the specific method that I want to mock.
What is this called? Dummy? Fake? Stub
ty
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Those kind of objects are still “mock” objects.
From Wikipedia, on the definition of a mock object:
And this is exactly what mock objects do, be them generated by a mocking framework or manually implemented in the unit tests