Using Spring Boot’s Slice Testing
Learn how to conduct slice testing in Spring Boot.
We just learned about Spring Boot’s awesome embedded container test support. All our plans got crushed in the paragraphs where we cautioned against going overboard, though. Is there anything in between the unit and end-to-end integration testing?
What is slice testing?
In slice testing, we take a group of program statements, or a slice, from the program to test particular test conditions. These slices or a group of program statements may affect a value at a specific point of interest.
Spring Boot has the ability to switch on a subset of features. For an idea of what’s available, check out this list:
Get hands-on with 1200+ tech skills courses.