Re: [extremeprogramming] What has changed for you over the past 20 years?
"Todd Sedano" <[email protected]> Wed, 4 Dec 2019 14:06:18 -0800
| Newsgroups | gmane.comp.programming.extreme-programming |
|---|---|
| Message-ID | <CAMUPbaJgoY-UrNNhwvLmFKLJZxUQi+fEe-WwQKpKrT-MU9CPPg@mail.gmail.com> |
I prefer not writing unit tests for configuration. If configuration is wrong, then just fix it. I prefer writing unit tests for my control flow. This means that my code will never have 100% unit test coverage. As a concrete example, consider an object has a static/fixed hash. (Eg CA => California) or (12 => purchase order)...it’s either right or wrong, no need to write lots of low value tests On Wed, Dec 4, 2019 at 1:51 PM John Maxwell <[email protected]> wrote: > On 12/04/2019 04:47:58 PM, Mike Bowler wrote: > > > Yep. TDD is a holly grail. Just having a policy not to check in any > > code without 100% unit test coverage does wonders to quality. > > > > I can’t tell if you meant that as sarcasm. I’ve seen that policy put > > in place and the “quality” that results. I expect many of us here have > > seen that disaster. > > > I haven't. What's the failure mechanism? > > -- > John Maxwell KB3VLL [email protected] > > "Personally I'm fond of using Dedekind cuts for representing the Reals, > but it gets cumbersome to use when balancing one's checkbook." > -Charles Haynes > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#160393): https://groups.io/g/extremeprogramming/message/160393 Mute This Topic: https://groups.io/mt/39418691/2417047 Group Owner: [email protected] Unsubscribe: https://groups.io/g/extremeprogramming/leave/4902963/619838065/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-