InfoQ

Topic/Tag specific view

All content and news on InfoQ about TDD


Latest featured content about TDD

Mock Roles Not Object States

Community
Agile
Topics
Software Testing,
Agile Techniques,
Design

In this presentation filmed during QCon London 2007, Nat Pryce and Steve Freeman talk about TDD using Mock Objects. In their opinion, Mock Objects improves the software design and makes the code more easier to maintain and adapt to changing requirements.

News about TDD

Moq .NET Mocking Library

Community
.NET
Topics
Unit Testing,
.NET Framework

Moq is a mocking library for .NET designed and developed to utilize .NET 3.5 features, e.g., Linq expression trees and lambda expressions. Moq's goal is to be simple and straightforward, allowing a natural integration into existing unit tests, instead of forcing developers to rewrite tests or learn extensive Record/Replay mocking frameworks.

Pex Automated Exploratory Testing for .NET

Community
.NET
Topics
Unit Testing

Pex is a white-box test generation tool from Microsoft Research. Instead of hand-writing a separate test case for each execution path within a given method, Pex allows a developer to write a single parameterized test method, which Pex will use to generate a suite of standard unit tests to exercise paths within the target method.

Articles about TDD

Iterative, Automated and Continuous Performance

Community
Architecture,
Agile,
Java
Topics
Performance & Scalability,
Unit Testing

Iterative and continuous are terms that are often used in reference to testing of software. This new InfoQ article takes a look at whether the same concepts can be applied to performance tuning. Along the way topics such as tooling and mocks are discuss in regards to how they need to be adjusted for performance in respect to testing for functional requirements.

Test Driven Development with Visual Studio for Database Professionals

Community
.NET
Topics
.NET Framework

Developers familiar with Test-Driven Development would like to continue their familiar Red-Green-Refactor cycle even when working with Stored Procedures. Cory Foy shows how to use Visual Studio for Database Professionals and inclusive tools as a framework for performing database unit tests.

Interviews about TDD

Hakan Erdogmus on TDD Misunderstandings and Adoption Issues

Community
Agile
Topics
Unit Testing

In this interview made during Agile 2007, Dr. Hakan Erdogmus, Editor in Chief of IEEE Software, discusses about TDD starting from a study done by Ron Jeffries and Grigori Melnik and published as "TDD--The Art of Fearless Programming" in the IEEE Software magazine. Hakan talks about current misunderstandings regarding TDD's role in software development and the adoption issues it faces.

Cédric Beust discusses Designing for Testability

Community
Java
Topics
Software Testing,
Unit Testing

In this interview from QCon San Francisco 2007, Cédric Beust discusses designing and architecting for testability, problems that hinder testability, test-driven development, the "Next Generation Testing" book, performance testing recipes, and testing small, medium and large codebases.

Presentations about TDD

Steve Freeman On TDD: How Do We Know When We’re Done?

Community
Agile
Topics
Unit Testing,
Agile Techniques

Writing a test makes you clarify your ideas about what needs to be done, and making the test pass means that you know that you've added a little more functionality today. Having a comprehensive suite of tests gives you the confidence to get on with things because you can tell when you've broken the system, and tests that are difficult to write show you where you need to improve.

Automating Business Value with FIT and Fitnesse

Community
Agile
Topics
Software Testing

Agile communities consider stories “done” when the acceptance tests (also called story tests) are shown to the customer. Originally, this was a manual process, but in recent years, several frameworks have been created to automate this process, providing acceptance testing all the benefits of automated unit testing. One of the most popular of these if called FIT, created by Ward Cunningham.

Books about TDD

Agile Patterns: The Technical Cluster

Community
Agile
Topics
Unit Testing,
Software Testing,
Methodologies,
Agile Techniques,
Agile in the Enterprise

This book guides the reader on crafting their own agile adoption strategy focused on their business values and environment. This strategy is then directly tied to patterns of agile practice adoption that describe how many teams have successfully (and unsuccessfully) adopted them. Business values are also a component of these patterns so your adoption is always focused on addressing your particular environment.