miniblog.
← Back to all posts
Jun 7, 2013 at 13:13
I've often felt that TDD is no panacea, but I've written quite a few commit messages recently of the form "added a failing unit test for X".
Wilfred Hughes
Related Posts
Mar 27, 2014 at 18:35
Interesting HN comment contrasting TDD and unit tests:
https://news.ycombinator.com/item?id=7467853
Wilfred Hughes
Shared words: TDD, unit, test Score: 136.8
Dec 29, 2015 at 22:46
A sign of a well written test suite is when new users reporting bugs can see how to write a failing test.
Wilfred Hughes
Shared words: written, failing, test Score: 43.7
Oct 25, 2026 at 21:36
2
1
I find that a surprising number of my commit messages have exactly the form: Previously X (naive/simplistic/incorrect) Which caused Y (crash/undesirable behaviour), Instead, do Z (better/more general solution).
Wilfred Hughes
Shared words: commit, messages, form Score: 42.3