miniblog.
← Back to all posts
Wilfred Hughes
Apr 20, 2018 at 23:09
'Golden tests' are tests that deliberately save expected output to a file, to make them easy to examine or regenerate.
https://ro-che.info/articles/2017-12-04-golden-tests
I'm familiar with the concept, but it's nice to see a handy label for it.
Introduction to golden testing
Golden tests are like unit tests, except the expected output is stored in a separate file. I learned about them in 2010 from Max Grigorev at ZuriHac.