Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I was inspired by the jane street post and implemented exactly this in my Scala unit testing library uTest (http://www.lihaoyi.com/post/GoldenLiteralTestinginuTest090.h...). Can confirm that auto updating golden test assertions does make working with a test suite much more joyful than struggling with each assertion by hand


> make working with a test suite much more joyful than struggling with each assertion by hand

There is a time and place for golden tests, but this reads more like a case for property-based testing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: