-
Recent Posts
- Review: In Pursuit of the Unknown (Ian Stewart)
- Intensifying Stories: Running with the Winners
- Review: Accelerando, by Charles Stross
- Valuable Stories in the INVEST Model
- Article: When Software Smells Bad
- Review: Structured Programming (Dahl, Dijkstra, and Hoare)
- Negotiable Stories in the INVEST Model
Tags
agile analysis atdd author biography business charts classic coach computers conference cool customer design fiction games HCI history improv integration interesting intro Java job aids language lean learning metaphor music myth patterns planning programmer refactoring reviews scrum software spreadsheet stories systems thinking tdd team tester training XPlorationsArchives
Tag Archives: tdd
3A – Arrange, Act, Assert
Some unit tests are focused, other are like a run-on sentence. How can we create tests that are focused and communicate well? What's a good structure for a unit test? 3A: Arrange, Act, Assert We want to test the behavior … Continue reading
Tagged agile, patterns, programmer, tdd, XPlorations
Tests from a Hat
How does the order of tests affect the design of software? A game to explore that idea. Continue reading
Tagged games, programmer, spreadsheet, tdd, XPlorations
Review – Growing Object-Oriented Software, Guided by Tests
Growing Object-Oriented Software, Guided by Tests, by Steve Freeman and Nat Pryce, ISBN 0-321-50362-7 Freeman and Pryce explain Test-Driven Development through an extended example. (They have a somewhat different perspective than I do, with much heavier use of mock objects. … Continue reading
Tagged design, programmer, reviews, tdd, XPlorations
Sudoku Solver
Sudoku is a fairly well-known type of puzzle. Solving it turns out to be easier than I expected, but a somewhat odd example of test-driven development. Continue reading
Tagged programmer, tdd, XPlorations
Sufficient Completeness and Testing
One way to determine “sufficient completeness” suggests considering all sequences of calls that can take an object to a state. This enumeration suggests important test cases. Continue reading
Tagged formal-methods, programmer, tdd, XPlorations
A Comparison Algorithm for TDD
Can you test-drive an algorithm? Continue reading
Tagged algorithm, programmer, tdd, XPlorations
Semantics of Fit: A Path Toward New Tools
Fit’s standard interpretation tells us how well a program does against a set of test cases. We can design new semantics for reporters (that give us interesting information) and for rewriters (that make interesting transformations of our tests). Continue reading
Tagged atdd, customer, tdd, tester, XPlorations
Review – JUnit Recipes
JUnit Recipes, JB Rainsberger. Manning, 2004. If test-driven development makes sense, but you need help in particular areas, this book provides it. JB covers everything from basic object testing to patterns, databases, XML, servlets, and more J2EE. Well-written and highly … Continue reading
Tagged Java, programmer, reviews, tdd
Procedural and Declarative Tests
Procedural tests focus on a series of steps; declarative tests work from the input and states. Procedural tests are natural to write, but consider whether a declarative test expresses your intent more concisely and clearly. Continue reading
Tagged atdd, tdd, team, XPlorations
Review – JUnit Pocket Guide
JUnit Pocket Guide, Kent Beck. O’Reilly, 2004.This is a quick intro to using JUnit for testing. It’s a quick read. Along with reference information about JUnit, it’s got a quick version of the philosophy behind Test-Driven Development. (Reviewed December, ’04)
Tagged Java, programmer, reviews, tdd
Test-Driven Development Workout
Test-Driven Development Workout is a tutorial presented by Bill Wake and Steve Metsker at OOPSLA '04. PowerPoint
Tagged conference, programmer, tdd, training
Refactorings Require New Tests
Refactorings are often described as transformations that preserve semantics, but they still may require new tests. Continue reading
Tagged programmer, refactoring, tdd