JUnit 4.4 added a new assertion mechanism with the method assertThat(). Have a look and consider using it in place of...
5 replies - 5673 views - 10/09/12 by Mike Christianson in Articles
People tell me A and B, They tell me how I have to see, Things that I
have seen already clear, So they push me then from side to side (I Want
0 replies - 4384 views - 09/28/12 by Alex Soto in Articles
Why create a mechanism to expect a test failure?
There comes a time when one would want and expect a JUnit @Test
case fail. Though this is pretty rare, it...
0 replies - 4799 views - 09/16/12 by Mike Ensor in Articles
In our software both rich client and server are using Spring. And we have a problem - how to use spring beans from regular classes inside a rich client (no...
1 replies - 6055 views - 06/08/12 by Pavel Bernshtam in Articles
This example shows how to generate coverage for unit and integration tests using Maven and Sonar.
It uses very simple techniques and should only take 10-15...
0 replies - 12762 views - 05/17/12 by John Dobie in Articles
Before we progress with the main content of the article, let's get a few definitions out of the way.
Unit tests are tests that are small...
0 replies - 4583 views - 05/13/12 by Partha Bhattacharjee in Articles
Been doing some coding with Neo4J. Pretty interesting experience so
far, but one thing is for sure: being able to write seriously
sophisticated code that...
0 replies - 4039 views - 05/11/12 by Rob Williams in Articles
IntroductionThis example shows how to split unit and integration tests using Maven and JUnit categories. It is especially useful for existing test suites and...
0 replies - 9340 views - 05/08/12 by John Dobie in Articles
This example shows how to split unit and integration tests using Maven and JUnit categories.It is especially useful for existing test suites and can be...
0 replies - 967 views - 05/02/12 by John Dobie in Announcements
This post is originally authored by Denali Lumma on the Okta blogAt Okta, we’ve gone through many iterations of using Jenkins to build
and test our...
0 replies - 15107 views - 04/12/12 by Eric Berg in Articles
Last week we kicked of a “Testing Skill Group” at LINEAS,
a group for exchanging knowledge about testing. One question that came
up over and over again...
1 replies - 6194 views - 12/12/11 by Jens Schauder in Articles
My last blog
was the first in a series of blogs on approaches to testing code,
outlining a simple scenario of retrieving an address from a database
0 replies - 5642 views - 11/16/11 by Roger Hughes in Articles
// Removed already posted by someone else.
0 replies - 1873 views - 09/26/11 by Stephen Price in Announcements
In development teams, there is often discussion about using the @Ignore tag for failing tests.
In particular, developers who are very enthusiastic about...
4 replies - 4696 views - 07/25/11 by Michael Schnell in Articles
Did you ever have the problem that you only wanted to run certain unit tests from a directory in JUnit?
For example you might want to run fast running...
2 replies - 2451 views - 07/20/11 by Christof Schoell in Announcements