mocking
3 stories and discussions about mocking, aggregated from every source we track.
1.
Defunctionalise your continuations and your tests can run any computation a step at a time.
2.
Mocking comes up a lot in discussions of testing effectful code in Haskell.One of the advantages for mtl type classes or Eff freer monads is that you can swa...
3.
Every backend developer knows the classic trade-off when writing tests: Unit tests with mocks are...