News for hackers. Stuff that matters.
Re:Russ Cox: Go Testing by Example by peter_l_downs on Tuesday December 05, 2023 @10:52PM (#38540307)
You’re not alone — I am sure other people have done this before me but I haven’t ever seen it published, and I rediscovered this technique independently. The logic behind this library has been ported to both scala and typescript without issue, I hope you and others can benefit from the idea even if you don’t use my implementation.
Re:Russ Cox: Go Testing by Example by anitil on Wednesday December 06, 2023 @07:40PM (#38551451)
It's really great. It reminds me of using overlay filesystems for tests so that you can maintain a clean read-only template and then run all your tests non-destructively on the overlay.