3 ms·
Nice read. It is interesting to speculate (I wasn't an active programmer then) that this is what the world looked like before TDD. There may not have been uni
by logicallee 10y ago
Nice read.
It is interesting to speculate (I wasn't an active programmer then) that this is what the world looked like before TDD.
There may not have been unit tests. Your automated test coverage might have been 0%. So when it came to knowing whether your program worked - you went in and broke it.
- notacoward 10y agoFor certain kinds of code, this approach is the only way you can create unit tests that mean anything, so it's kind of orthogonal to TDD.
- nickpsecurity 10y agoNah that would be Cleanroom, Eiffel Method, or Praxis-s Correct-by-Construction if it's an alternate history focused less on testing. Cleanroom and Praxis got defect rates under 3 per Kloc with either money saved or 30-50% extra cost. http://infohost.nmt.edu/~al/cseet-paper.html http://infohost.nmt.edu/~al/cseet-paper.html https://www.eiffel.com/values/design-by-contract/introduction/ https://www.eiffel.com/values/design-by-contract/introductio... http://www.anthonyhall.org/c_by_c_secure_system.pdf http://www.anthonyhall.org/c_by_c_secure_system.pdf
- ska 10y agoTDD is a bit of a red herring here - it's just a technique more suitable for some things than others. It cannot, by it's very nature, effectively replace many other techniques no matter how much one might wish it so.
- cr0sh 10y agoRealize that this was also for Tandem - makers of the "Non-Stop" systems with 5 9's reliability (these machines incorporated such things that you could upgrade the ram while it ran, pull things out and it would keep going - even a cpu, etc - it used redundancy and a variety of other special stuff in the OS and was pretty lengendary). Which might explain some of the strange things this kind of testing system can do (ie - crash the CPU). I don't think for most regular systems that this is what the world of testing looked like in the 90s (definitely not from my perspective at the time - I was neck-deep in a VB5 project then). This does seem like an interesting method of testing, though, for those Tandem systems. I'm not sure if those systems are still available today, but I wouldn't doubt that there are examples still running (likely banking/financial sector - where IIRC is where they were mostly used).