Skip to content

pawelpluta/testcontainers-reusable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reusable Testcontainers Sample

This project contains source codes for Medium article Optimise Testcontainers For Better Tests Performance.

Testing application during development should be something that is not disturbing our work, but supporting it. Having a clear distinction between fast unit tests, and complex, but slower integration tests is a good start for achieving quick feedback loop. The faster we will get a result of most relevant test, the quicker we can implement new features without breaking the application logic.

This project shows, how to configure and use Reusable Testcontainers feature, which significantly reduce container startup time.