↓ Skip to main content

·28 words

Stop writing documentation about your codebase norms that nobody will read anyway and use this approach codifying requirements in tests. It’s so simple and frankly quite ingenious.

https://jmduke.com/posts/essays/weird-tests-tacit-knowledge/

Alper Cugun
Author
Alper Cugun

Related

·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.

·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.