Test Double Blog

blog.testdouble.com · Company blog · on HN since 2013

Test Double, a software consultancy, writes about testing, TDD, Ruby, developer tooling, and engineering practice.

What HN saysCommenters link it for "The Failures of Intro to TDD", posts on favorite tools and privacy-minded analytics, and a moving post about a colleague.
66HN people shared it
9linked it in comments
150stories submitted
1.5Kstory points
3 years agolast shared
2013people per year2026

Most-shared posts

  1. 1
    The Failures of "Intro to TDD"
    5 people · 271 points · first shared 2014 · 84 comments on HN
  2. 2
    My favorite way to TDD
    4 people · 15 points · first shared 2015 · 4 comments on HN
  3. 3
    The looming demise of the 10x developer
    4 people · 13 points · first shared 2023 · 1 comments on HN
  4. 4
    The TLDR on Ruby's new TLDR testing framework
    4 people · 10 points · first shared 2023 · discussion on HN
  5. 5
    How to build a search engine with Ruby on Rails
    3 people · 209 points · first shared 2021 · 63 comments on HN
  6. 6
    The Slippery Slope of Docker Dev Environments
    3 people · 114 points · first shared 2020 · 74 comments on HN
  7. 7
    Crafting a conference talk
    3 people · 7 points · first shared 2014 · 1 comments on HN
  8. 8
    Stop paying tech debts, start maintaining code
    3 people · 7 points · first shared 2022 · discussion on HN
  9. 9
    The Standard Ruby VS Code Extension
    3 people · 5 points · first shared 2023 · discussion on HN
  10. 10
    Never Staff to the Peak
    3 people · 4 points · first shared 2023 · discussion on HN
  11. 11
    Understanding the Law of Demeter
    3 people · 4 points · first shared 2022 · discussion on HN
  12. 12
    Must have 10 years experience with Lineman.js
    3 people · 4 points · first shared 2023 · discussion on HN
  13. 13
    Favorite Command Line Tools
    3 people · 3 points · first shared 2020 · discussion on HN
  14. 14
    Estimate This
    2 people · 7 points · first shared 2014 · discussion on HN
  15. 15
    Healthy migration habits
    2 people · 7 points · first shared 2014 · discussion on HN

What HN people wrote when they linked it

searls · 2022-12-07
Aaron's post was incredibly touching and inspired me to share this https://blog.testdouble.com/posts/2022-12-07-the-best-kind-of-brillian…
kadams54 · 2020-06-12
I wrote a blog post about this: http://blog.testdouble.com/posts/2020-04-07-favorite-things/ Outside of that, I'd say linters and code formatters have a huge impact on my productivity and code quality. ShellCheck in particular has taught me oodles about shell scripting.
skrebbel · 2014-03-06
You might like http://blog.testdouble.com/posts/2014-01-25-the-failures-of-intro-to-t… It's a tad long, but worth it. tl;dr: the first half agrees with you, and the second half describes a process that does help you test useful stuff (and design your software decently along with it)
crabmusket · 2022-11-19
Seems like Nix is having a bit of a moment. After devbox[1] was released I started looking into Nix, and there's a lot happening. I'm staying away from these Nix wrappers and learning how to do some basic nix-shell work, myself. Until it's proven the wrappers are adding real value, not just trying to hide scary scary Nix from devs who only feel safe in YAML files. For the curious, this post[2] describes mixing Nix and Docker. And this[3] is a pretty decent tutorial on using Nix itself for this use case (consistent developer environments). Without going full NixOS, setting up a shell.nix with some OS-level environmental dependencies is a great way to dabble. It seems there may be a sensible reaction away from "Dockerise all the things" for development at least, e.g. this blog post[4]. There are real downsides to containers for development, even though using things like `rvm`, `nvm` and `venv` were also a pain. We've run into issues ourselves with developers starting to use the new M1 Macs - we've still not figured out how to make filesystem mounting fast yet. There seem to be other advantages to running more things locally, like simpler configuration of debuggers etc. (EDIT for clarity: the issues were with Docker, not Nix, hence the reference to filesystem mounting. Nix == "running more things locally".) But taking a broader view, while containerising apps with complicated dependencies is a win, we really don't need to pretend that production and dev are actually…
rajeshrajappan · 2021-03-07
I came across Plausible from this article on Test Double https://blog.testdouble.com/posts/2021-03-02-why-privacy-minded-analyt…
1_player · 2017-10-27
I have adopted the same philosophy. A few resources on this, part of the so-called London school TDD: - https://github.com/testdouble/contributing-tests/wiki/London-school-TD… (and the rest of the Wiki) - http://blog.testdouble.com/posts/2015-09-10-how-i-use-test-doubles - Most of the screencasts and articles at https://www.destroyallsoftware.com/screencasts (especially this brilliant talk https://www.destroyallsoftware.com/talks/boundaries) - Integration Tests Are A Scam: https://www.youtube.com/watch?v=VDfX44fZoMc All of these basically go the opposite way of the article's philosophy: Not too many integration tests, mostly unit tests. Clearly define a contract between the boundaries of the code, and stub/mock on the contract. You'll be left with mostly pure functions at the leaves, which you'll unit test.
vickychijwani · 2016-03-19
Justin Searls' "The Failures of Intro to TDD" is relevant to this discussion: http://blog.testdouble.com/posts/2014-01-25-the-failures-of-intro-to-t…
Harkins · 2015-01-29
Justin Searls' recent talk "The Social Coding Contract" has a nice take on why expectations get so out-of-sync: http://blog.testdouble.com/posts/2014-12-02-the-social-coding-contract… Nobody is "the bad guy", but creators and late adopters have very different understandings of what OSS is for, why it exists, and what to expect.
zachrose · 2014-11-08
I work mainly with front-end JavaScript developers, who generally speaking got into programming through HTML and CSS and see testing as something someone else does after they've built the thing. (Which also perfectly describes me up until a year ago.) I don't have a reference for start-to-finish automated testing, but I like the way in which Justin Searles explains the difficulty of such a thing here: http://blog.testdouble.com/posts/2014-01-25-the-failures-of-intro-to-t… I gave a brief presentation about testing a few months ago and felt like it didn't really connect. I think it's genuinely hard to break the preconceptions about testing, and also there's a fair amount of incidental framework and library minutia that can be hard to isolate from the big picture ideas. Subjective experience is a huge factor. Trying to rationally explain the advantages or conceptual underpinnings of testing doesn't always work. (In hindsight it didn't work for me either.) It really takes sitting down next to somebody and walking them through a process. I've had success in showing a test I wrote from some unit that I wanted to exist, deleting the implementation, walking them through a re-implementation, and then passing them the keyboard to implement another deleted implementation. Make sure that the developers actually experience a cycle of red-green-refactor.

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close