Tag Archives: testing

Integration Tests with Selenium and tomcat7-maven-plugin

To create an automated integration test of my spanners-struts webapp, I need a way of launching it as part of the Maven build process.

Protecting Service Methods with Spring Security Annotations

Any class or method can be protected with Spring Security using either AOP interceptors or expression based annotations on the class or method.

DbUnit and Jailer

Jailer will export data from a single table and all data that is related to it by foreign key references. This can result in far more data being scripted than expected.

Just tell me what broke!

If I know that there’s a problem with one of my services, I don’t want a heap dump of my whole application nor do I want to guess what class may be causing the issue. I want something that just tells me what broke.

Web service testing with soapUI

soapUI is an essential free tool for testing SOAP and other web service protocols. It was particularly useful for testing the SpannersWS demo as it works well with WSS.

Rounded corners in CSS / IE Tester

Fortunately IETester exists to quickly test web pages using the rendering engines of IE 5.5, 6, 7, 8 and the IE9 preview

Test Coverage

Using code test coverage analysis we’ve got a new metric we can use to judge the quality of our code. As with any metric though, some discretion is required… I find that this sort of tool is mostly useful to catch dumb mistakes.

DbUnit

DbUnit is a JUnit extension targeted at database-driven projects that, among other things, puts your database into a known state between test runs.

Bug Shooting screen capture

Bug Shooting from http://www.bugshooting.com/

Memory usage

I found that these three tools worked together quite nicely to detect memory leaks and other memory problems.