List/Grid Tag Archives: Testing

The Perils of Not Unit Testing
Overview Unit testing is a widely accepted practice in most development shops in this day and age, especially with the advent of the tool JUnit. JUnit was so widely effective and used ...

You don’t need Testers – Or do you?
I talk to a lot of people in both big and small software development organizations about how they manage software development, how they’re organized, what practices they follow and ...

JUnit and Hamcrest: Improving On assertEquals
In my blog post Are Static Imports Becoming Increasingly Accepted in Java?, I discussed the increasing use of static imports in Java to make code more fluent in certain contexts. Unit ...

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 ...


