[ Content | View menu ]

Archive for 'Test-Driven'

Interactions, not objects

30 Nov 2004

Another data point, Tony Rizzo quotes an example of why “a system is defined not by its components but by the interaction of its components”

Test-Driven

On the origins of TDD

26 Jun 2004

At ADC2004 I was chatting with Ward Cunningham about the origins of Test Driven Development. He said that, for him, it came from working with a group that was working in parallel on the same code base. The domain was mathematical and so pretty straightforward to test, so he pushed the testing forward to make […]

Test-Driven

Constraints in NUnit?

28 May 2004

NUnit is progressing with version 2.2 in beta. It’s coming along nicely, but eventually I’d like to see them use the Constraint concept from the dynamic mock libraries, instead of simple equality.

Test-Driven

Ward approves of Mock Objects!

3 Apr 2004

From the agile testing mailing list

Unit testing has been amplified by a rich understanding of, for example, Mock Objects. I like the way that a little programming makes difficult tasks easy. We should do more of that.

That’ll do nicely.

Test-Driven

Bertrand Meyer not completely right

3 Mar 2004

In this interview with Bertrand Meyer on Artima, Bertrand Meyer hopes that Test-Driven Development is like Design By Contract. Well, yes and no.

Test-Driven

The big idea is “messaging”

28 Feb 2004

I’ve been fretting over why so many smart people don’t quite get what we’ve been trying to express with Mock Objects, and why we as a group think it matters. There’s an experience we haven’t been getting across properly. I think the step that’s missing is the extent to which we use the Tell, Don’t […]

Test-Driven

I’ve been translated!

22 Feb 2004

Arton has translated my artice on writing test-driven JDBC into Japanese

Thanks

Test-Driven

Missing the point of Mocks?

23 Jan 2004

Triggered by Crazy Bob, Aslak and Simon Brown responded on whether it’s better to create your own mocks with the IDE or use one of the dynamic mock packages, such as JMock. I think Bob and Simon have missed something…

Test-Driven

Sometimes you have to bend the rules

16 Jan 2004

In a comment on his posting Testing the Mock, Aslak Hellesoy points out that one of the solutions is less than perfect because it breaks encapsulation to allow testing. That’s true, but sometimes the right thing to do is bend the rules so you can test.

Test-Driven

Are Mock-based unit tests really too brittle?

14 Dec 2003

At XPDay London, Tim Mackinnon and Joe Walnes presented a tutorial on using Mock Objects to drive top-down design. With Nat Pryce and me, they make up a Gang of Four who’ve been reworking our thinking about Test Driven Development with Mock Objects.

Martin Fowler was there giving a keynote and came to the tutorial. We’ve […]

Test-Driven