{"blyg":"0.4","id":"3z50r8q76cs8s1zbb164v6zj49","kind":"thread","origin":"https://blyg.aneeshsathe.com/","page":"t/3z50r8q76cs8s1zbb164v6zj49/","author":{"name":"Aneesh Sathe","url":"https://blyg.aneeshsathe.com/"},"created":"2026-10-06T18:40:55Z","updated":"2026-10-06T18:43:16Z","version":1,"content_md":"![[6p7pfh7s1c9yhjb0hcdm5m6tv6]]\n That’s interesting, years ago I had asked a cousin of mine who was into automobile engineering why they had to run the whole car to test a new chip. He said that they needed to get the actual signals and they mock signals just aren’t good enough. \n\nDidn’t go deeper into it, but it’s funny that a car should be easier to not build mocks for than code. \n","content_html":"<blockquote class=\"blyg-transclusion\" data-blyg-id=\"6p7pfh7s1c9yhjb0hcdm5m6tv6\" data-blyg-version=\"1\" data-blyg-origin=\"https://blyg.bricolage.io/\">\n<blockquote class=\"blyg-transclusion\" data-blyg-id=\"7ymahdtnz8btg47m452x3td894\" data-blyg-version=\"1\" data-blyg-origin=\"https://blyg.aneeshsathe.com/\">\n<blockquote class=\"blyg-transclusion blyg-partial\" data-blyg-id=\"2qj9qq98tq6ahvvcpr1nagyee5\" data-blyg-version=\"1\" data-blyg-origin=\"https://venkateshrao.com/blyg/\">\n<p>green tests prove the code agrees with its mocks</p>\n</blockquote>\n<p>As a non-software dev software person, i have never understood the purpose of mocks.</p>\n\n</blockquote>\n<p>They suck unless you really need them — generally you really need them if the thing you're mocking is too expensive or slow to run or impossible to run e.g. a 3rd party API that doesn't have a test environment.</p>\n\n</blockquote>\n<p>That’s interesting, years ago I had asked a cousin of mine who was into automobile engineering why they had to run the whole car to test a new chip. He said that they needed to get the actual signals and they mock signals just aren’t good enough.</p>\n<p>Didn’t go deeper into it, but it’s funny that a car should be easier to not build mocks for than code.</p>\n","content_hash":"sha256:5aa06268ac800a3f66ee8ab697f0bb8c82d54b716abbe60ef883035e4e0a71bb","media":[],"transclusions":[{"id":"6p7pfh7s1c9yhjb0hcdm5m6tv6","version":1,"origin":"https://blyg.bricolage.io/","cited":{"source":"Kyle's blyg","author":"Kyle Mathews","excerpt":"green tests prove the code agrees with its mocks As a non-software dev software…","url":"https://blyg.bricolage.io/t/6p7pfh7s1c9yhjb0hcdm5m6tv6/","retrieved":"2026-10-06T18:43:16Z"}}],"stub_of":{"origin":"https://blyg.bricolage.io/","id":"6p7pfh7s1c9yhjb0hcdm5m6tv6","version":1,"cited":{"source":"Kyle's blyg","author":"Kyle Mathews","excerpt":"green tests prove the code agrees with its mocks As a non-software dev software…","url":"https://blyg.bricolage.io/t/6p7pfh7s1c9yhjb0hcdm5m6tv6/","retrieved":"2026-10-06T18:43:16Z"}},"changelog":[{"version":1,"at":"2026-10-06T18:43:16Z","note":null}]}