News for hackers. Stuff that matters.
Re:Test smarter, not harder (2020) by ChrisMarshallNY on Monday October 17, 2022 @11:04AM (#33234487)
I enjoyed it.

I tend to use test harnesses. I write about my approach, here: https://littlegreenviper.com/miscellany/testing-harness-vs-u...

That said, my testing code generally dwarfs my implementation code; whether harness or unit. Part of the reason is that I spent 27 years at a company, where Quality was a religion, and it was very important, not to faceplant in public.

I learned to write very effective tests, very quickly. Most of my test harnesses are "full-fat" applications, that many people would want to ship. I'll often throw them together in a day or so. It helps me to practice for The Rilly Big Shoo.

I use almost every line of code I write, in shipping software, so it is a very practical approach.

There are no comments on this comment yet.