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

Part of my dev process at work involves running a (rather) flaky test suite on my laptop. The test suite takes several minutes to run, and it doesn't fail fast. No good for my short attention span.

I wrote a script which runs the test suite in a loop. When the tests fail, it plays horns.aiff (from The Price is Right). When the tests pass it plays the epic Champions League theme music.

The best part is, I can do other stuff while waiting for the flaky tests to pass, without having to remember to check the terminal they're running in. Audio cues are really great.



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: