Sign up or log in to watch the video
Three-and-a-half Ways of Testing your Repositories
Daniel Raniz Raneland - a year 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
Team Lead Backend (w/m/d)
aedifion GmbH
·
22 days ago
Senior Backend Engineer - Core Team (f/m/d)
envelio
·
30 days ago
Funktionales Testen
Projektron GmbH
·
yesterday
Berlin, Germany
Hybrid
Entwicklung Software Testing
Projektron GmbH
·
yesterday
Berlin, Germany
Hybrid
Related Videos