Skip to content

A Simpler Workflow with TestContainers in Node

Photo of Alexander Samsig
Hosted By
Alexander S. and 3 others
A Simpler Workflow with TestContainers in Node

Details

Agenda

17:00 - 17:30 Pizza and mingling
17:30 - 18:30 Presentation
18:30+ Mingling/discussions

Food and venue is sponsored by Variant.
---
Presentation
A Simpler Workflow with TestContainers in Node - Christian Brevik
(The presentation will be held in English.)

A challenge many developers face is how to test code that depends on external dependencies like databases or other services.

TestContainers was built to solve this exact problem, letting you programmatically spin up lightweight, temporary instances of these services in Docker-containers. By default it requires very little configuration, and works just as well locally as it does in your CI/CD-pipeline.

At the same time, it can be used for much more than just standard testing. In this talk Christian will run through how TestContainers work in Node, and show you a more advanced use case in how he set up TestContainers in a Next.js app. The goal is to make it possible to work on a solution without having to worry about whether the database is running or not.

Photo of BartJS group
BartJS
See more events
Varianthuset
Kongens gate 36 · Trondheim