Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Re: Changeset Evolution as an aid to Test Driven Development.
> I'm? with Ron on this. I want the history to be clean, for sure, but
even more I want it to be correct. That means it should reflect what I
did in the order that I did it. I admit I used to do that, I wanted the commit log to be static so it reflected the experimentation and testing I have done, and hence resisted using this tool. However, I can still get that from following the predecessor successor nodes in mercurial if I want.... and I find in practice I seldom want. But as I discovered the advantages of sequencing the types of commit to achieve more useful purposes... I have willingly abandoned that without a backward glance. Admittedly I'm now dreaming of a CI system that will wake up on every commit or evolve, rather than on a push, and will prove the invariant (after every evolution every changeset on the branch passes). It should also be able to automagically isolate the transformation that broke it... That is something that should be automatable. Yup, it will require some hefty compute power (and/or cunning algorithms) and I'm quietly brewing plans for that in the back of my head. Pretending I wasn't so stupid in the past is by far the weakest reason for doing this. (A nice warm fuzzy feeling of absolution maybe, takes some of the bite out of imposter syndrome maybe, but a lousy reason). The powerful growing observability and diffing logs debug technique is an excellent reason. Having strong proofs, that just keep getting stronger, that refactorings are indeed pure refactorings is an excellent reason. The "keeping up with the herd of cats" to avoid Bing Bang integrations is an excellent reason. Being able to drop the extended unit tests into the mainline to stop the herd of cats accidentally breaking things, even if the rest of the branch isn't ready, is an excellent reason. Floods of microcommits of "obviously correct" tiny refactorings is an excellent reason. Using coverage analysis to see where you're starting to walk on shaky ground, and then retroactively? brace with unit tests _before_ all your changes is an excellent reason. On Tue, Jun 15, 2021 at 9:55 AM Charlie Poole <charliepoole@...> wrote:
-- John Carter Tait Electronics? ? ? ? ? ? ? ? ?? ? ??? New Zealand This Communication is Confidential. We only send and receive email on the basis of the terms set out at |
to navigate to use esc to dismiss