Tag Archives: junit

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 is a JUnit extension targeted at database-driven projects that, among other things, puts your database into a known state between test runs.

JUnit testing Hibernate and Spring

A nice recipe for unit testing Spring configured Hibernate.