Test-Driven Development in Python (19 tags)
The goal of test-driven development is not to produce tests; they're merely a helpful by-product. The real goal is to produce elegant, working code. Jason Diamond demonstrates how test-driven development works using Python and PyUnit to create a sample event-tracking utility.
More Test-Driven Development in Python (11 tags)
The goal of test-driven development is not to produce tests; they're merely a helpful by-product. The real goal is to produce elegant, working code. Jason Diamond demonstrates how test-driven development can improve the design of code.
Agile User Interface Development (10 tags)
Agile is a sea of change, refocusing software developers on quality and speed. Its impact on the practice of software development is already being compared to that of object-oriented design. However, one area of effort has been slow to change: development of the graphical user interface (GUI). The critical question: how do you do test-first GUI development? Paul Hamill, author of Unit Test Frameworks, discusses separating GUI elements into smart objects and thin view components and doing TDD of the smart objects.
Cooking with Java XP (4 tags)
In this recipe from Chapter 5 of Java Extreme Programming Cookbook, learn how to configure your development environment to support test-first development with HttpUnit, JUnit, Tomcat, and Ant.
Perl Code Kata: Testing Databases (3 tags)
Testing simple code is all well and good, but what happens when your real code has to work with external programs, such as databases? How do you test your code adequately without going crazy writing scaffolding that has no chance of working anywhere but your test box? Stevan Little suggests that DBD::Mock can round out your test toolbox nicely in this Perl Test Kata.