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

Software Tester (f/m/d)
Power Plus Communications
·
12 days ago
Mannheim, Germany
Hybrid

Software Development Engineer in Test (m/w/d)
Raven51 AG
·
today
Hamburg, Germany
Hybrid

(Senior) Experte (w/m/d) Data & KI
Raven51 AG
·
4 days ago
Melsungen, Germany
Hybrid

Python Backend Developer (f/m/x)
Raiffeisen Bank International AG
·
8 days ago
Vienna, Austria
Hybrid
Related Videos