Testing

Writing Your Own JUnit Extensions Using @Rule

I was surprised to see how many hidden and undocumented features Junit has. In the new release (4.7) you have access to a lot of interesting stuff (still in...

1 replies - 1192 views - 11/06/09 by Mathieu Carbou in Articles

Mockito 1.8 - New Useful Features

Mockito expands its impressive feature set with release 1.8.I was once a happy EasyMock user. If asked, I think I would have even questioned the need for a new...

1 replies - 3138 views - 11/03/09 by pablojim in Articles

OO Design for Testability

 We design our code for performance, maintenance, simplicity, extensibility and other goals, but most of us do not think about testability as a design...

0 replies - 2461 views - 10/16/09 by Nitin Bharti in Videos

ScalaTest 1.0 Release "A Path Forward" to Scala

Scala has made a name for itself recently with the announcement in April that Twitter was in the process of converting their back-end from Ruby to Scala.  The...

0 replies - 2576 views - 10/13/09 by Mitch Pronschinske in News

For a Fistful of Dollars: Quantifying the Benefits of TDD

According to a recent scientific study, using TDD increases development (coding) time by 15-30%, but results in 40-90% fewer defects. This study was done with...

10 replies - 1910 views - 10/12/09 by John Ferguson Smart in Articles

Giving Infinitest and Continuous Testing a Try

It has been a week since I started using Infinitest while working on FEST-Assert. I’m very pleased with the results, to the point that I’m getting addicted...

0 replies - 1064 views - 10/06/09 by Alex Ruiz in Articles

Cost of Testing

A lot of people have been asking me lately, what is the cost of testing, so I decided, that I will try to measure it, to dispel  the myth that testing takes...

8 replies - 2517 views - 10/02/09 by mhevery in Articles

Duct Tape Programming

Joel tells the story of The Duct Tape Programmer, and Uncle Bob offers his response. Now these are two pretty smart guys who know a lot about...

12 replies - 3091 views - 09/27/09 by Kirk Knoernschild in Articles

JPA Implementation Patterns: Testing

This week I will discuss various approaches to testing JPA code.The first question to ask is: what code do we want to test? Two kinds of objects are involved...

5 replies - 3331 views - 09/21/09 by vpartington in Articles

hello2morrow rolls out SonarJ 5.0

Today hello2morrow released version 5.0 of their Java architecture management solution SonarJ. The new release comes with a couple of major new features and...

0 replies - 1418 views - 09/18/09 by CodeJustin in News

Testing Function vs Testing Implementation

Often I have got complaints from developers that I work with that their unit tests are prone to breakages, or they don’t like writing unit tests because...

0 replies - 1942 views - 09/18/09 by shyamseshadri in Articles

Meet the Author of the Selenium Refcard

Recently DZone released the Selenium Refcard, written by Frank Cohen. Selenium seems like a vital tool for test driven development of web applications.

0 replies - 1585 views - 09/11/09 by James Sugrue in Articles

It is Not About Writing Tests, It's About Writing Stories

I would like to make an analogy between building software and building a car. I know it is imperfect one, as one is about design and the other is about...

2 replies - 2642 views - 09/03/09 by mhevery in Articles

Web Testing BDD-style With JWebUnit and Easyb

Behaviour-driven development is a great way to design and build the web layers of your application. In this article, I look at how to use JWebUnit, a fast and...

1 replies - 1525 views - 08/17/09 by John Ferguson Smart in Articles

Reorganizing Long Test Classes

For the next release of FEST-Swing, the number of automated tests has increased considerably: from 2,677 to 3,000+ (and counting!) Special attention has been...

1 replies - 1574 views - 07/28/09 by Alex Ruiz in Articles