Integration Testing with Docker Containers with DockerCompose

18
ENGINEERED BY MONOWAI MONOWAI.COM GITHUB.COM/MONOWAI @MONOWAI

Transcript of Integration Testing with Docker Containers with DockerCompose

ENGINEERED BY MONOWAI

MONOWAI.COM

GITHUB.COM/MONOWAI

@MONOWAI

http://localhost/api/me• I build things as Monowai

• Consult, design and build

• Software engineer

• Dev manager, architect

• Microservices, NoSQL, Spring, Java, AWS etc.

• Docker

• FD - open source data processing pipeline

The Stack

Build and Test Things

Way we test• Tests are independent and repeatable

• Tests create their own data

• Write code to be testable

• Unit, functional, MVC and integration

• Configurations can vary and be tested accordingly

Docker• Containerisation of services

• Each service has a Docker File

• expose ports

• default ENV vars

• communicates config settings to ops

Spring• @SpringBootApplication

• @MessageGateway

• @Configuration

• @Profile

Package the Things

Compose the Things

Verify the Things

COLLECT | CONNECT | COMPARE

Mike Holdsworth | @monowai

flockdata.com