<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Testing-Slices on Devops Monk</title><link>https://blog.devops-monk.com/tags/testing-slices/</link><description>Recent content in Testing-Slices on Devops Monk</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 23 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.devops-monk.com/tags/testing-slices/index.xml" rel="self" type="application/rss+xml"/><item><title>Spring Boot Testing Slices — @DataJpaTest, @WebMvcTest, and @SpringBootTest</title><link>https://blog.devops-monk.com/tutorials/testcontainers/spring-boot-testing-slices/</link><pubDate>Sat, 23 May 2026 00:00:00 +0000</pubDate><guid>https://blog.devops-monk.com/tutorials/testcontainers/spring-boot-testing-slices/</guid><description>@SpringBootTest starts the full application context — all beans, all auto-configurations, all datasources, all message listeners. That is 10–30 seconds of startup time for every test class that needs it. Spring Boot&amp;rsquo;s test slices load a subset of the application context — only the beans relevant to what you are testing. Repository tests that once took 15 seconds with @SpringBootTest take 2 seconds with @DataJpaTest. This article covers all the major test slices and how to combine them with Testcontainers.</description></item></channel></rss>