Junior — Middle
Which container is launched during the execution of tests?
sobes.tech AI
Answer from AI
During testing, an embedded servlet container such as Tomcat or Jetty is often used, which runs in embedded mode. This allows tests to run a web application without the need for deployment on a full server. In Spring Boot, for example, embedded Tomcat is started during integration tests, which simplifies testing controllers and REST APIs.