Roses and Thorns: Java/Spring/Wicket/Hibernate Union Membership Management

It is hard not to focus on the negatives on these projects although most of them went pretty well. Sometimes the thorns are actually the roses because we overcame some problem. The union member management application we worked on is a good example of this.

Our thorn on this project was automating functional tests. It is hard to get good code coverage with Java Spring they way you can with unit tests in RoR. Automating functional tests are also extremely difficult with Wicket because Wicket generates ids for all the HTML elements and they change, so they are impossible to target. What we ended up doing was adding name attribute to every element we wanted to target. Targeting by name is a little more difficult, but it worked well for automating these tests.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s