2 ms·
> All of the entries on his list are either libraries, programming languages, or testing tools and frameworks. I've never used or looked much into TDD, but it
by gwern 17y ago
> All of the entries on his list are either libraries, programming languages, or testing tools and frameworks.
I've never used or looked much into TDD, but it seems to me that that's where TDD would be best: areas where input is easily done programmatically & where output can be easily checked for whatever property. How does one test a big GUI app - write some sort of binding to xlib to move the mouse around and go through routines? I'm sure it's possible, but I suspect it's pretty difficult to come up with useful but reliable tests.
- silentbicycle 17y agoThat's true of automated testing in general, really. It helps to design the GUI as a thin layer around a bunch of code that can be tested, scripted, etc. in isolation, rather than tangling the major functionality with the GUI code itself.