Talk
Registration required!
December 13, 2023
12:00 pm
12:45 pm
(CET)

Three-and-a-half Ways of Testing your Repositories

Powered by
No items found.

About the session

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.

About the speaker

Daniel Raniz Raneland
Daniel Raniz Raneland
Sourceror at factor10

Watch recording

Registration required!

Save your spot

13 Dec
,
12:00 pm
12:45 pm
(CET)
Save my spotSave my spotSave my spotSave my spot
Code of Conduct
WeAreDevelopers welcomes everyone and is dedicated to defending anybody from harassment, regardless of gender, gender identity, and expression, sexual orientation, disability, physical appearance, body size, race, age or religion.
Read more
Diversity & Inclusion
At the WeAreDevelopers Events we empower underrepresented groups by giving them the stage to share their knowledge and experiences. It is crucial for our international events to bring together the perspectives of people with different backgrounds.
Read more