What are different types of test doubles and their uses?
问题 I was going through an online course on test driven development and came across the concept of test doubles. As per the definition of test double in the course : Test Doubles : Test doubles are objects that are used in unit tests as replacement to the real production system collaborators. I got an idea what test doubles mean. But then it was mentioned there are various types of test doubles. The ones mentioned in the course were : Dummy : Objects that can be passed around as necessary but do