2021, April 8 Start: 2PM CEST 4 hours
"Painless Integration Testing with Docker and Testcontainers"
Workshop #1
Kevin Wittek
Head of Blockchain Research Lab
FOR WHOM?
Moving your project to the latest Java can mean faster code, cheaper cloud bills, but above all, an application that cannot be hacked easily! Just by using Java 11, you can save up to 25% of heap memory, and there are many other benefits.

If you write your code to the latest Java, it would become clearer, concise, and easy to read which means less chance to produce bugs.
Kevin Wittek
Head of Blockchain Research Lab

Testcontainers co-maintainer and Testcontainers-Spock author, passionate about OSS, containers and Linux. Oracle Groundbreaker Ambassador. Software Crafter and testing fan. Fell in love with TDD because of Spock. Believes in Extreme Programming as one of the best Agile methodologies. Likes to write MATLAB and Python programs to support his wife in performing behavioural science experiments with pigeons. Plays the electric guitar and is a musician in his second life.

After many years working in the industry as an engineer, Kevin is now doing his PhD in computer science in the field of distributed systems engineering and is leading the Blockchain Lab at the Institute for Internet Security in Gelsenkirchen, Germany at the Westphalian University of Applied Sciences.
WORKSHOP FORMAT
Lecture and Small Group Activities
Overview 

15 min
Training 

3,5 hours
Breaks 

30 minutes
QA

15 min
AGENDA
2021, April 8-th
2:00-2:15
2:00-2:15
Welcome and Overview
2:15-2:30
2:15-2:30
Setting up the work environment
2:30-2:45
2:30-2:45
Exploring the example application
2:45-3:00
2:45-3:00
Adding some tests
3:00-3:30
3:00-3:30
The first Testcontainers integration
3:30-4:00
3:30-4:00
Break
4:00-4:30
4:00-4:30
Blackbox testing with RestAssured and monitoring endpoints
4:30-4:45
4:30-4:45
SingletonContainer Pattern
4:45 - 5:00
4:45 - 5:00
Integration testing business logic and Kafka integration
5:00-5:15
5:00-5:15
Leverage integration testing to check edge cases of external dependencies
5:15-5:45
5:15-5:45
Selenium Browser testing
5:45-6:00
5:45-6:00
Closing and Wrap-Up
WHAT YOU NEED BEFORE WE START:
1
General experience in using the following technologies is expected. Participants can tag along if they don't know all the details, but some topics might get too complex if they are missing the basics:
- Java
- Docker basics
- JUnit 4
- Spring-Boot basics are helpful.
2
As this is a hands-on workshop, it is essential that you bring a prepared workstation, containing the following software:
- at least JDK 8
- IDE of choice (IntelliJ IDEA recommended)
- Docker CE 19.x
Important: Please prepare the environment & install Docker before the workshop!
We can guarantee that it will work on the following environments:
- Any Linux with native and up to date Docker installation. The user needs Docker permissions.
- macOS with Docker Desktop for Mac
- Windows 10 with Docker Desktop for Windows (WSL2 or Hyper-V backend)
"
WHAT YOU WILL LEARN
"Unit testing is fine, but without proper integration testing, especially if you work with external resources like databases and other services, you might not know how your application will actually behave once it has been deployed to the real production environment.

«efore Docker, configuring the environment for integration testing was painful – people were using fake database implementations, mocking servers, usually it was not cross-platform as well. However, thanks to Docker, now we can quickly prepare the environment for our tests.

Come and learn why Apache, Spring, ZeroTurnaround, JetBrains, Playtika, Zipkin and others already decided to use Testcontainers for their integration testing needs!


In this workshop, I would like to show how you can use Testcontainers ( https://github.com/testcontainers/testcontainers-j... ) – a popular Java testing library that harnesses Docker to easily, reliably, spin up test dependencies.
We will use it with a Spring Boot microservice and test against real PostgreSQL and Redis data stores, we'll isolate it from other microservices, then start Selenium browsers in Docker and test our application, and all with the same library!

Programme
Setting up the work environment
Exploring the example application
Adding some tests
The first Testcontainers integration
«lackbox testing with RestAssured and monitoring endpoints
SingleContainer Pattern
Integration testing business logic and Kafka integration
Leverage integration testing to check edge cases of external dependencies
Selenium Browser testing


COURSE BENEFITS:
Learn to write robust and quick integration tests in Java using Docker and Testcontainers
Use real relational databases as drop-in replacement with special JDBC URLs
Integrate container lifecycles into the test framework
Use Testcontainers for integration testing of event streaming systems such as Apache Kafka
Do blackbox testing of your system and non-Java images
WORKSHOP
Smart Bird
$199
2021, April 8
Time 3PM CET
8 HOURS LONG
Book Now 50 participants ONLY
Geekle Corp.
910 Foulk Road, Suite 201
Wilmington, DE
19803, USA
Designed by:
Click to order
Total: 
Contact Information
Payment method
Contact the organizer if you need a refund