Home » Archives

Content tagged with: TDD

[7 Mar 2012 | No Comment | ]

This blog post discusses how to apply a Test-driven Development (TDD) approach to non-functional requirements like performance. He proposes examples on how to test performance with time and memory constraints. He suggests that it is possible to extend this approach to performance, scalability, portability, maintainability and even more abstracts requirements like usability, accessibility.

[27 Feb 2012 | No Comment | ]

RSpec is an open source Behavior-Driven Development (BDD) ruby package that lets you build a specification alongside your software. BDD is an approach to software development that combines Test-Driven Development (TDD), Domain Driven Design and Acceptance Test-Driven Planning. RSpec helps you do the TDD part of that equation, focusing on the documentation and design aspects of TDD.

[15 Feb 2012 | No Comment | ]

This article provides a process to integrate Test-Driven Development in the maintenance of a .NET application. You will first write the tests that will prove your new code gets the same results as the legacy code. Then you isolate new code into separate methods or classes that you can test independently. You break down the requirements into simple valid tests. Finally you check to see that you have not introduced a new bug. While you are doing this, let Visual Studio generate the utility code for you and find a …

[13 Feb 2012 | No Comment | ]

How do you do Test-Driven Development (TDD) with command-line tools? How does one make a failing test for a missing command-line option? This video answers these questions with some real-world examples.

[26 Jan 2012 | No Comment | ]

This article presents a strategy for unit testing in Python, using a set of utility functions that converts to and from Roman numerals. The author discusses the benefits of a Test-Driven Development (TDD) approach and propose a detailed testing process for all the cases of the functions.

[9 Nov 2011 | No Comment | ]

Test-driven development (TDD) is a programmer practice that’s been employed by a growing number of software development teams for the past dozen years. Does TDD impact you personally? If you’re a manager, what should you expect from teams using TDD? How do you know if they’re doing a good job? Is there any advantage of TDD over sporadic after-the-fact unit testing?

[25 Aug 2011 | No Comment | ]

This just might be the thing that brings a mathematical rigor to Test Driven Development (TDD). If nothing else, it will certainly help programmers choose which tests to write next, and how best to make them pass. Transformations are like refactorings in that they are simple incremental changes to code.

[26 Jul 2011 | No Comment | ]

This video presents experiences applying Test-Driven Development (TDD) at all levels of the development process. TDD at the class level is now well understood (if not always well practiced). We find that the benefits we get from writing tests first and using them to drive design apply at the system level too.

[19 Jul 2011 | No Comment | ]

In this blog post, Steve Daskam shares a list of 14 Test Driven Development (TDD) best practices.

[7 Jun 2011 | No Comment | ]

In this blog post, Dave Rooney explains that microtests and TDD are excellent practices but you still need other levels of tests and testing to sustain a team’s ability to be agile over any extended period of time.