Double - GradedJestRisk/test-training GitHub Wiki
List:
- dummy objects: just used to fill parameter lists (to compile)
- fake objects: have working implementations, take some shortcut (eg. in-memory database)
- stubs: canned answers to calls made during the test, not responding at all to other requests
- spies: stubs, that also record some information based on how they were called.
- mocks: pre-programmed with expectations which form a specification of the calls they are expected to receive.