prog: (Wario)
[personal profile] prog
X is chugging along nicely. The skeleton of the logic library is complete, and I'm now fleshing it out through writing a whole mess of unit tests, making sure all the muscles twitch just so. It's hard to imagine a time when I didn't make a habit of test-driven development, even though I started only a couple of years ago. Seeing the panel of lights glow green after adding code is a happy thing, and seeing some turn red is happier, in a way, because I know that here are errors I wouldn't have caught until much later without the tests handy.

I'm champing at the bit to start working on the UI, partly because it terrifies me. But I'm not letting myself do so until every class (or at least every class of class) has at least a couple of tests attached, and there are a lot of classes. There's probably another two or three full work-sessions of test-writing in front of me, and when I do start building the UI I know I will be on my knees thanking my past self for having the patience to do them first.

Moreover, it's past time to seriously engage the game's rights-holder about what they expect to see on their end of the licensing deal. I made a gesture towards this over email last month, and they acknowledged receipt, but we need to have an actual conversation. I've been putting it off because it's less fun than working on code by myself, but I have long since proven to myself that I can accomplish the technical end of this task. Time to refocus long enough to TCB.

Date: 2008-06-09 09:26 pm (UTC)
ext_2472: (Default)
From: [identity profile] radiotelescope.livejournal.com
I've never exactly done test-*driven* development. I've done a lot of development that included unit tests in parallel.

I generally find that unit tests fit really well with some levels of the project, and make no sense for other parts. I never wrote any tests at all for Volity Fluxx, for example. But there are lots for various pieces of the Python parlor framework that I wrote Fluxx on top of.

(I could explain why this happened, but it might wind up as an argument for Jmac to stop writing Fluxx unit tests!)

August 2022

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28 293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 20th, 2025 04:05 pm
Powered by Dreamwidth Studios