The idea is to use Docker containers instead of embedded (fake) server in tests to allow simulating better production (full featured) environments.
The testcontainers project allows to handle transparently the management of Docker containers so it can simplify a lot the development of tests using Docker.
There are some disadvantages in using Docker:
- more resources;
- longer execution times;
- requires Docker installation
thus at the moment the embedded server will be retained for those who do not want to use the containerized tests.