Testing

TDD: Useful When New On a Project

Something which I've noticed over the last few projects that I've worked on is that at the beginning when I don't know very much at all about the code base,...

0 replies - 1514 views - 11/09/09 by markhneedham in Articles

Should Programming Languages Support Unit Testing Natively?

I used to be strongly opposed to this idea but I started changing my mind recently. Here is what happened.  The bad Production and test code can be...

7 replies - 2114 views - 11/09/09 by Cedric Beust in Articles

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 - 1984 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 - 3674 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 - 2644 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 - 2848 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 - 2035 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 - 1136 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 - 2624 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 - 3192 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 - 3492 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 - 1454 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 - 1984 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 - 1710 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 - 2666 views - 09/03/09 by mhevery in Articles