# Functional tests with Testcontainers

DevFeed: [Functional tests with Testcontainers](<https://devfeed.tech/articles/functional-tests-with-testcontainers-47442.md>)

Original publisher: [Read original article](<https://engineering.zalando.com/posts/2022/04/functional-tests-with-testcontainers.html>)

Author: Marek Hudyma

Published: 2022-04-11T22:00:00Z

Content type: tutorial

Language: en

Sources: [Zalando](<https://devfeed.tech/sources/zalando-engineering-blog.md>)

Topics: [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Testcontainers](<https://devfeed.tech/topics/testcontainers.md>), [Java](<https://devfeed.tech/topics/java.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [backend](<https://devfeed.tech/tags/backend.md>), [database](<https://devfeed.tech/tags/database.md>), [docker](<https://devfeed.tech/tags/docker.md>), [functional-testing](<https://devfeed.tech/tags/functional-testing.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [java](<https://devfeed.tech/tags/java.md>), [testcontainers](<https://devfeed.tech/tags/testcontainers.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>), [zalando](<https://devfeed.tech/tags/zalando.md>)

## AI overview

This tutorial explains functional testing and demonstrates how Zalando Marketing Services uses the Testcontainers JVM library with Spring-based Java backend applications. It describes running the service and its dependencies in Docker containers to create a black-box test environment close to production.

## Source excerpt

We explore how to write functional tests using Testcontainers.org library in Java-based backend applications.