TDD

  • submit to reddit

The 7 habits of highly effective developers

The 7 habits of highly effective people is an influential and best-selling book which coined terms such as proactivitiy. I'm a developer by day, so I wondered...

0 replies - 44702 views - 02/21/12 by Giorgio Sironi in Articles

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...

0 replies - 6250 views - 01/26/12 by Giorgio Sironi in Articles

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...

4 replies - 7564 views - 01/03/12 by Giorgio Sironi in Articles

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...

1 replies - 4799 views - 12/15/11 by Giorgio Sironi in Articles

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...

1 replies - 7853 views - 12/12/11 by Dror Helper in Articles

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...

0 replies - 3953 views - 12/07/11 by Giorgio Sironi in Articles

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...

2 replies - 6017 views - 12/05/11 by Giorgio Sironi in Articles

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...

9 replies - 14032 views - 11/28/11 by Mitch Pronschinske in Articles

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...

0 replies - 7169 views - 11/18/11 by Martin Fowler in Articles

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...

1 replies - 2566 views - 11/09/11 by Dennis Doomen in News

Ops Needs their own TDD: Test -Driven Infrastructure

The recently published book "Test-Driven Infrastructure with Chef" is not a proscriptive book as far as tooling, despite having "Chef" in...

0 replies - 4709 views - 10/20/11 by Mitch Pronschinske in News

Tell, Don't Ask in the case of a web service

This is a language agnostic post: it is valid for each object-oriented imperative language like Java, C#, PHP. Let's start from the beginning: a web service...

8 replies - 6806 views - 10/20/11 by Giorgio Sironi in Articles

Your Code is NOT Somebody Else’s Problem

Imagine an ant working at the top of a mountain. Next to it, there’s a sluice of melt water running and, at that moment, the ant removes a tiny particle...

3 replies - 7736 views - 09/01/11 by Daniel Ackerson in News

CoffeeScript: a TDD example

CoffeeScript is a language building an abstraction over JavaScript (as the similar name suggests.) It is an abstraction over the syntax of JavaScript, not over...

0 replies - 7014 views - 08/09/11 by Giorgio Sironi in Articles

How to return default(Type) in runtime – a TDD example in four unit tests

I’ve found this question while going over my old StackOverflow answers:I'm using reflection to loop through a Type's properties and set certain types to...

1 replies - 6369 views - 07/18/11 by Dror Helper in News