Java Software Testing tutorials: unit testing, open source, JUnit, Mockito, TestNG, Spring, JGiven, etc.

JUnit Tutorial

September 5, 2011 1

This is a brief video on how to use the JUnit open source unit testing framework for Java. By using JUnit, you can assert that methods in your Java code work as designed, without the need to set up the complete application.

Declarative Unit Testing in Java

August 29, 2011 0

In this blog post, Roger Hughes explains how SureAssert, an integrated Java unit testing tool for Eclipse, can help solving the problem of having to change your Java unit tests when you change part of your code. You use annotations to define a set of tests for each of your class’s methods instead of writing unit tests. SureAssert automatically checks the annotations, generate and run unit tests.

Unit Testing for Java EE

August 24, 2011 0

Many developers think that testing Java EE applications is hard, inconvenient or too complex. This has not been true since the inception of Java EE 5 more than five years ago. This article explore how to do efficiently unit testing for Java EE applications.

Testing Databases with JUnit and Hibernate

March 14, 2011 0

This blog post discusses the problem of testing the database code. It describes some of the problems and proposes possible partial solutions to this testing issue based on Hibernate and JUnit.

1 6 7 8 9