[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Testing the case against XP




I write audio software which is pretty hard to write tests for, but I 
do do test first design. Here's how it goes.

"How come there's no sound? Oh, I haven't written any code yet.."
<write code>
"uhh, still no sound"
<fix code, write code>
"OK now there's sound but it has a click in it"
<fix code>
"That sounds good, but I want it to control it now"
<write code>
etc...

The best thing about this is I test it without having to write any 
tests.
But I can't run my tests everytime I make changes. I have to listen. 
And listening takes time.


-- 
--- james mccartney   james@audiosynth.com   <http://www.audiosynth.com>
SuperCollider - a real time audio synthesis programming language for 
MacOS X.