Kissaki@programming.dev to Programming@programming.devEnglish · 3 days agoTest names should be sentences — Bitfield Consultingbitfieldconsulting.comexternal-linkmessage-square5fedilinkarrow-up130arrow-down15
arrow-up125arrow-down1external-linkTest names should be sentences — Bitfield Consultingbitfieldconsulting.comKissaki@programming.dev to Programming@programming.devEnglish · 3 days agomessage-square5fedilink
minus-squarekarlhungus@lemmy.calinkfedilinkarrow-up2·3 days agoGo has an idiom like so https://github.com/hashicorp/vault/blob/8da4386caceb3fdfaa90074bb29c77e8a99c7dad/api/kv_test.go#L27, when i mention name i’m referring to that string. I get what your saying, we’ve all worked in terrible code bases, i’ve also worked in code bases where this kind of article was enforced. What you wound up with was something that was very wordy.
Go has an idiom like so https://github.com/hashicorp/vault/blob/8da4386caceb3fdfaa90074bb29c77e8a99c7dad/api/kv_test.go#L27, when i mention name i’m referring to that string.
I get what your saying, we’ve all worked in terrible code bases, i’ve also worked in code bases where this kind of article was enforced. What you wound up with was something that was very wordy.