Pro Spring MVC: With Web Flow by Seth Ladd, Colin Yates, Marten Deinum, Koen Serneels, Christophe Vanfleteren

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

C H A P T E R  9

Testing Spring MVC Applications

Testing is in most projects a bit of a struggle point. We all know testing is important, but we also know that testing takes time and writing good tests is difficult. Testing also requires adequate infrastructure in your code base.

Testing is also not very sexy. It doesn’t involve producing flashy UIs with cool effects, and it doesn’t require you to make brilliant designs either (don’t get us wrong, testing requires good design, but it is mostly repetitive and not as engaging as production code can be). Maybe the biggest challenge is that your project doesn’t seem to move forward when you are writing tests. It feels like you are wasting time while you could be building functionality instead. Because ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required