Three-and-a-half Ways of Testing your Repositories
Daniel Raniz Raneland - 2 years ago
Domain Driven Design teaches us to separate the repository (our data storage inferface) from the rest of the model in order to prevent our storage interface from contaminating the rest of our domain model. So, with the data layer successfully separated from the rest of the domain model into its own repository, now comes the time to test it - a task that may seem rather daunting. In this talk I will use Test Driven Development to show how to use mocking frameworks to mock datastores at both the API-, and server-level, and show techniques to test against a real database as well as how we can make the tests more portable by leveraging containers when appropriate.
Jobs with related skills

Senior Backend Developer (w/m/d)
aedifion GmbH
·
21 days ago

Software Developer C++ (m/w/d)
ROSEN Technology and Research Center GmbH
·
today
Osnabrück, Germany
+1
Hybrid

Cloud Architekt AWS (m/w/d)
Instaffo
·
today
Eschborn, Germany

Platform & Cloud Solutions Architect (m/f/d)
Instaffo
·
today
München, Germany
Related Videos