InfoQ Homepage TDD Content on InfoQ
-
Book Excerpt: How to Improve your Continuous Testing
Continuous Integration has become a standard development best practice - but it's not always done well. Tests take up much of an application's build time, and poorly constructed test suites can cause long builds, whereupon teams start to circumvent agreed-upon CI practices just get the time to code. InfoQ presents advice and examples in Chapter 6: Continuous Testing from a new CI book.
-
Are Agile Development Practices Detrimental to Architecture and Design?
Is iterative and incremental development à la Agile practices - where one builds only what is required per iteration - detrimental to good design? Does Scrum encourage ignoring architectural issues? Can design and architecture evolve effectively without the technical Agile practices? Does test-first development lead to good design? Or does the red-green-refactor loop stall at local-minima?
-
Writing Maintainable Code
Sam Gentile, Oren Eini (aka Ayende), and Frans Bouma have an ongoing debate in the .NET community about how to write maintainable code, which several others have joined. The debate mainly focuses on the question, if Test-Driven-Development (TDD), O/R-Mappers (ORM), Model-View-Presenter/Controller (MVP/MVC), and other best-practices help to improve the maintainability of software.
-
Agile, Architecture and the 5am Production Problem
What does "just enough architecture" mean? Can we agree on this? The answers from FDD and XP seem divergent. Michael Nygard, author of Release It! unravels the story of a production problem which typical Agile approaches would not have prevented, asserting that Agile teams may need to attend more to architecture, if they want to sleep through the night once it's deployed in the real world.
-
Fun: New Programmatic Certification - WOMM Programme
Jeff Attwood outlined a new programmatic Certification programme, WOMM (Works On My Machine), as an humorous mechanism for highlighting broken builds in a continuous build environment.
-
Separating Views from Business Logic with Acropolis
Microsoft's GUI toolkits tend to encourage developers to tightly couple business logic with presentation. Comparing the original VB and ASP or WinForms and ASP.Net, one sees very little change in this regard. Acropolis is different though, and for the first time since MFC it looks like Microsoft is taking the concept of separation of concerns seriously.
-
Microsoft and Agile - Divergent Agendas?
Martin Fowler has questioned Microsoft's grip on leading-edge developers. MS has threatened one developer with legal action over his TestDriven.Net extension for VisualStudio Express, and MS development of an incompatible rival to NUnit has alienated many developers. Is there a widening divide between MS and the Agile community, as each pursues different a vision? Now's the time to speak up.
-
Article: Unit-Testing XML
In this exclusive InfoQ article, Stefan Bodewig explains how to use the XMLUnit Java framework to write tests in the presence of XML.
-
100% Test Coverage?
How much testing is enough? The answer varies depending on whom you ask. On one end of the spectrum, some say you should strive to achieve 100% test coverage. Others say it doesn't matter, that you should just rely on the quality of the tests, and that measuring test coverage does not tell you anything about the quality of the tests and the code being tested.
-
Solving Sudoku with TDD
A small debate recently flared up on the merits - or lack thereof - of test-driven development. Following Ron Jeffries' attempts to create a Sudoku solver, the community explores some of the difficulties and misconceptions associated with TDD.
-
Archeology: Testing Sacred Text Found
Alberto Savoia has uncovered an ancient treasure: "The Way of Testivus - Unit Testing Wisdom From An Ancient Software Start-up," which turned out to be some good advice on developer and unit testing, packaged as twelve fake, pretentious, and somewhat cryptic bits of ancient Eastern wisdom - but good for a laugh.
-
InfoQ Interview: Dave Astels and Steven Baker on RSpec and BDD
InfoQ interviews Dave Astels and Steven Baker, two of the authors of the successful Rspec framework about enabling Behavior-Driven Development in Ruby, and the implications of moving from a test-centric point of view to one that is more specification-driven.
-
GreenPepper aims to Improve Collaborative Testing
Pyxis Technologies officially launched their testing product GreenPepper last July, at Agile2006. Expanding on the kind of features offered by FitNesse, it is a platform intended to improve collaboration between business experts and software developers. Now, having taken the time to respond to feedback, Pyxis is offering a more complete product with the GreenPepper 1.1 Release.
-
Test-Driven Database Development with DbFit
Gojko Adzic has released DbFit, an extension of the Fit testing framework enabling test-driven development against Oracle databases.
-
Tutorial: TDD with Selenium and Castle
Dan Bunea shows how TDD can be applied in .NET using Selenium RC and Castle. Test first principals provide architects a way to quickly jump into active development early in the application development lifecycle. The benefits of TDD are a drastic reduction in defects as well as increased flexibility in the code base since the application evolves quickly through an iterative process.