Indirect inputs and outputs are essential to understanding the different kinds of test doubles. This concept helps to determine when to use a dummy or stub, and when to use a spy or mock.

You can read more in the following article:
https://principal-it.eu/2020/04/indirect-inputs-and-outputs

#tdd #testdrivendevelopment #unittests #unittesting #softwaredesign