paint-brush
How to Create Simple Multi-Stacks Test With Testcontainersby@arie.pratama.s
1,672 reads
1,672 reads

How to Create Simple Multi-Stacks Test With Testcontainers

by Arie Pratama Sutiono7mJune 29th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Testcontainers is a lightweight library that “wraps” docker and connect to test frameworks, such as Junit and Spock. It is modular, as you can see in their maven repositories. This means, you can import only the necessary stacks that matter to you. Using Tescontainers will make this even shorter in Intellij IDEA. It will enable us to use multiple tech stacks in one test class. For instance, you need to test a Kafka consumer that does insert to a Mysql instance, we can define both services in the same class.

Coin Mentioned

Mention Thumbnail
featured image - How to Create Simple Multi-Stacks Test With Testcontainers
Arie Pratama Sutiono HackerNoon profile picture
Arie Pratama Sutiono

Arie Pratama Sutiono

@arie.pratama.s

Senior Software Engineer | ex Data Science Manager

Learn More
LEARN MORE ABOUT @ARIE.PRATAMA.S'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Arie Pratama Sutiono HackerNoon profile picture
Arie Pratama Sutiono@arie.pratama.s
Senior Software Engineer | ex Data Science Manager

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite