Automated web application testing is an important part of any web application development effort. Spring Roo provides supports for auto-generating Selenium tests for the Spring Web MVC controllers. In this recipe, we'll look at how to generate Selenium tests for web controllers using Roo and how to use the Selenium maven plugin to execute them.
Delete the contents of
ch04-recipe sub-directory inside the
ch04_web-app.roo script into the
ch04_web-app.roo script that creates the
flight-app Roo project, sets up Hibernate as the persistence provider, configures MySQL as the database for the application, creates ...