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

> ...if you want one-click "this snapshot failed; update it" self-modifying tests.

I am envisioning the PR arguments now when the first instinct of the junior developer is to clobber the prior gold standard outputs. Especially lovely when testing floating point functionality using tests with tolerances.

Some things should be hatefully slow so one's brain has sufficient chance to subconsciously mull over "what if I am wrong?"



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

Search: