Search⌘ K
AI Features

Writing an Integration Test

Understand how to create integration tests in Deno that verify the interaction between multiple components like controllers and repositories. This lesson guides you through writing tests that mimic real application behavior, helping ensure your modules work correctly together and catch integration issues early.

In this lesson, we’ll write more interesting tests. These are the tests that will teach us how to check the integration between the different modules of the application.

Integration test

Our first unit test, which we created previously, relied on a mocked ...