Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!
DevOps Zone is brought to you in partnership with:

TDD

  • submit to reddit
James Betteley03/22/12
4587 views
0 replies

Test-Driven Infrastructure with Chef – A Book Review

A while ago I ordered a copy of “Test-Driven Infrastructure with Chef” from Amazon. It must have been sometime last summer in fact. It took months to arrive, because they simply didn’t have...

Giorgio Sironi03/15/12
6365 views
0 replies

Test-Driven Emergent Design vs. Analysis

Can we build anything with TDD, or do we need some design up front?

Steve Hanov03/06/12
5621 views
2 replies

Test Driven Development without Tears

If you are setting up a regression test system, it should be effortless to create a new test, and it should be able to run hundreds of tests in five minutes. Here are the 3 rules you should follow for TDD.

Giorgio Sironi03/06/12
4516 views
0 replies

Asynchronous and negative testing

How to test that something eventually happens or does not happen at all?

Giorgio Sironi02/28/12
4957 views
1 replies

TDD in Python in 5 minutes

Python ships a unit testing framework which is really easy to test-drive your code with.

Giorgio Sironi02/21/12
38770 views
0 replies

The 7 habits of highly effective developers

The 7 habits of Stephen Covey can be applied to software development too. Let's start with the failure of an Internet connection.

Giorgio Sironi01/26/12
4794 views
0 replies

Unit testing when Value Objects get in the way

Tests developed during TDD can be classified into several levels, depending on the size of the object graph they need to work with. End-to-end tests span the whole application graph, while unit tests usually target a single public class at a time.

Giorgio Sironi01/03/12
5246 views
4 replies

TDD for multithreaded applications

This article describes some practices for test-driving multithreaded and distributed applications written in Java. The example I worked on and we will use is a peer-to-peer application composed of many Nodes (clients) and of a few Supernodes (servers).The...

Giorgio Sironi12/15/11
2805 views
1 replies

jQuery plugins with jsTestDriver

In this article we're going to develop an example of jQuery plugin with the aid of jsTestDriver, a little framework for writing automated tests.jQuery pluginsPlugins in jQuery are simply functions added to jQuery.fn, which is the prototype of the objects...

Dror Helper12/12/11
5662 views
1 replies

TDD vs. BDD: or why can’t we all just get along?

I was listening to another good Hanselminuets podcast - Understanding BDD and NSpec with Matt Florence and Amir Rajan. As always it was a good and informative show. Towards the end of the show one of the interviewees (I think it was Amir) explained why BDD...

Giorgio Sironi12/07/11
2200 views
0 replies

Testing and specifying JavaScript code with Jasmine

Jasmine is a BDD framework for JavaScript (or CoffeeScript) code, which helps you specify and test your classes and functions as the same time.Jasmine is not derived from the classic xUnit API, but features Behavior-Driven Development syntax, composed of easy...

Giorgio Sironi12/05/11
4325 views
2 replies

What I learned in the Global Day of Code Retreat

This Saturday, 2200 software developers gathered in more than 90 cities around the world to improve their skills. This Global Day of Code Retreat was the biggest edition of such an event.

Mitch Pronschinske11/28/11
8918 views
8 replies

Basic Mistakes in Database Testing

There is a huge number of books about TDD. Those books usually concentrate on using test for units of work. Units of work are understood in many different ways, usually it means a class. So the books say: write a lot of tests, make code in such a way the...

Martin Fowler11/18/11
5433 views
0 replies

Martin Fowler: Specification By Example

I was attending a workshop at XP/Agile Universe in 2002 when the phrase 'Specification By Example' struck me as a way to describe one of roles of testing in XP. This is a 2011 Retread of post orginally made on 18 Mar 2004 

Dennis Doomen11/09/11
1364 views
1 replies

Fluent Assertions is finally gaining some momentum

Indeed it is, in particular within the part of the .NET community that believes test-first development is non-negotiable. We receive more and more suggestions, contributions and questions, and we’ve started to notice some blog posts here and there.