Glossary: Software Design Patterns in Go
Mock
Also written: mocks
A test stand-in that also records how it was called so the test can check it. It differs from a plain fake, which only stands in for a real part.
Glossary: Software Design Patterns in Go
Also written: mocks
A test stand-in that also records how it was called so the test can check it. It differs from a plain fake, which only stands in for a real part.