Hacker News new | ask | show | jobs
by chiply 64 days ago
Thanks for reading!

I totally agree. For me, the biggest take away from researching and writing this post is this: "the state space of a model – not just its happy path of a golden test instance – is the right unit to reason about when you write tests". If I were to try and get buy-in from an enterprise on doing a layered testing strategy, I'd probably lead with this idea as it is the most resonant. I've struggled to get folks on board to strategies like this in the past, and it's likely because I've led with the complex layering approach rather than simply calling out the fact that we aren't reasoning about the right 'unit' when we're testing our models or procs that use those models.