O'Reilly logo

Spring Roo in Action by Ken Rimple, Srini Penchikala. Foreword by Ben Alex.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Testing your application

 

This chapter covers
  • Roo test creation commands
  • Stubbing tests
  • Mocking entities and collaborators
  • Web-based testing challenges
  • Testing with Selenium

 

Spring Roo helps you build your applications rapidly, but that doesn’t mean you should skimp on your testing plans. Chances are, you’re building the applications so fast that it would help to slow down a bit and write some useful tests. The more you test up front, the fewer surprises you’ll find in production.

You’ve already learned that simple actions, such as using the --test-Automatically flag to create entities, help ensure you have a baseline of entity persistence tests for your application. But you can do more. As you saw in chapters 3 and 4, you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required