3 ms·
I think the distinction I'm seeing here is that a mock is a pretend implementation of whatever the interface is, either at a code or service level, whereas as a
by mikepurvis 5y ago
I think the distinction I'm seeing here is that a mock is a pretend implementation of whatever the interface is, either at a code or service level, whereas as a fake is that actual service in whatever its minimally-viable state is.
So like— not mocking out the database interface with cooked responses, but instead using an actual instance of the database.