BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage TDD Content on InfoQ

  • What are the Qualities of a Good Test?

    What is a good test? How do we know if we're writing good tests? Kent Beck, Roy Osherove, Mike Hill and others provide some insight.

  • Mockito 1.5 spies on plain objects

    The latest release of the Mockito mocking framework enables spying on non-mock objects and introduces a cleaner stubbing syntax.

  • When is Ok to Break the Rules

    In “Just Ship Baby” Kent Beck, author of the JUnit Framework, reminds us that the point of all the Agile processes and practices is to produce shipping software. If they’re getting in the way of shipping software – then perhaps you need to break the rules.

  • Moq .NET Mocking Library

    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.

  • Presentation: Mock Roles Not Object States

    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.

  • Pex Automated Exploratory Testing for .NET

    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.

  • Interview: Hakan Erdogmus on TDD Misunderstandings and Adoption Issues

    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.

  • TDD Opinion: Quality Is a Function of Thought and Reflection, Not Bug Prevention

    In a recent post, Michael Feathers argues against the widely held idea that unit testing, by itself, improves code quality. Michael talks about unit testing, integration tests, TDD and Clean Room Software Development, concluding that code quality is a function of thought and reflection, not bug prevention.

  • My "Unit Test" Aint Your "Unit Test"

    Mike Hill, well-known XP contributor, came forth to make a few interesting assertions about the misunderstanding often surrounding how a TDD "unit test" differs from the "unit test" of traditional lore, and how he uses the term 'microtesting' to clear the air for new TDD'ers.

  • FIT/Fitnesse Fixture Gallery 2.0 Released

    Gojko's Fixture Gallery is a cookbook for FIT/Fitnesse fixtures and version 2.0 has been released with Java, C# and Python code samples.

  • When To Use Mock Objects?

    In his 'Ode To Code' K Scott Allen offers rational for the use of mock objects when unit testing and discusses his thoughts on the use of mock object frameworks.

  • Presentation: Steve Freeman about Test Driven Development

    In this presentation filmed during QCon 2007, Steve Freeman, an independent consultant, talks about TDD, why is it helpful and gives an example on doing it.

  • NUnit 2.5 Alpha released

    NUnit one of the original .NET Unit Testing frameworks has just released its 2.5 Alpha. Altough there is only a minor version number change there are a significant number of new features, including: Support for Data Driven Tests, a Parallel Test Runner, ...

  • Why Traditional Test-Automation Tools Stifle Agility

    In recent times, much excitement has circulated about the direction of "next generation functional testing" tools. Alas, many agile organizations still struggle to make their traditional record-and-playback automated testing tools work for them. Elisabeth Hendrickson, aka "test Obsessed", tells them why to stop.

  • Presentation: David Hussman on Automating Business Value with FIT and Fitnesse

    In this presentation, David Hussman, founder of DevJam, discusses about user stories, the origin and authoring of story tests, focusing on how FIT and Fitnesse (FIT living within a Wiki) can be used to automate acceptance tests.

BT