5
Testing with Spring Boot
In the previous chapter, we learned how to secure an application through various tactics, including path-based and method-based rules. We even learned how to delegate to an external system such as Google to offload risk for user management.
In this chapter, we’ll learn about testing in Spring Boot. Testing is a multi-faceted approach. It also isn’t something that you ever really finish. That’s because every time we add new features, we should add corresponding test cases to capture requirements and verify they are met. It’s always possible to uncover corner cases we didn’t think of. And as our application evolves, we have to update and upgrade our testing methods.
Testing is a philosophy that, when embraced, enables ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access