uliSchuster / real-world-backend

A study project on how to develop a production-grade Haskell backend application.
Apache License 2.0
1 stars 1 forks source link

Set up IO testing for persistence #10

Open uliSchuster opened 4 years ago

uliSchuster commented 4 years ago

Testing persistence requires IO. To test it, we need to interface the application that performs persistence operations with the persistence engine. Ideally, we can target both a mock and a real persistence engine. Therefore, this issue is also to figure out how to mock the persistence engine.

Acceptance criteria: