List/Grid Tag Archives: Testing

DBUnit, Spring and Annotations for Database testing
If you have ever tried writing database tests in Java you might have come across DBUnit. DBUnit allows you to setup and teardown your database so that it contains consistent rows that ...

TestNG and Maven configuration guide
To be useful automatic tests should run very fast. Otherwise will not be run often during development or even will be ignored in the default configuration on the developer workstations. ...

Integration Testing with Selenium
Overview I’ve been using this for sometime and I’ve come across a few things that appear to make life easier. I thought I’d share this as a tutorial, so I’ll ...

Arquillian 1.0.0.Final released! Ready for GlassFish and WebLogic! Death to all bugs!
Red Hat, Inc. and the JBoss Community today announced the 1.0.0.Final release of Arquillian, its award-winning testing platform built to run on the Java Virtual Machine (JVM). Arquillian ...

Taking over the Codebase, Solving the Spaghetti Crisis
We’ve all been there. Somebody asks if you can take a look at their website that has been stagnant for a while. Something small needs to be changed. You feel up for a challenge, so ...

Beyond JUnit – Testing Frameworks alternatives
JUnit is the defacto Java unit testing framework, but there’s a couple of new (and not so new) frameworks out there for web development that might be of interest. Questions you ...

Introduction to mutation testing with PIT and TestNG
Mutation testing is a technique which allows to discover which parts of our code are not covered by tests. It is similar to a code coverage, but mutation testing is not limited to the ...

Unit Testing is a Means to an End
Most professional software developers these days understand the importance and value of writing and using unit tests. A nice summary of some of the oft-touted and oft-realized benefits ...

Shame driven development
I always aspire to write well-crafted code. During my day job, where all production code is paired on, I think our quality is pretty high. But it’s amazing how easy you forgive yourself ...

Growing hairy software, guided by tests
Software grows organically. One line at a time, one change at a time. These changes soon add up. In an ideal world, they add up to a coherent architecture with an intention revealing ...


