↓ Skip to main content

·33 words

A breath of fresh air to read somebody breaking with the TDD dogma. Test are useful but please remember: “Write tests, not too many, mostly integration.” and try to exercise some judgement.

https://registerspill.thorstenball.com/p/a-few-words-on-testing

Alper Cugun
Author
Alper Cugun

Related

·37 words
Programmers like to moan that naming things is hard. This may be the case but naming types, functions and variables is a core part of the job.

·25 words
Such a smart move to use tests not to just test business logic but also to use it to ratchet down code base invariants.

·83 words
More people have mentioned it and I think it should be part of every Rust tutorial to encourage people to just clone() whenever they get in a jam and get their stuff done: “keep calm, clone and move on”. I think that one thing will make it possible to onboard any team onto Rust quickly and get them shipping.