Hacker News new | past | comments | ask | show | jobs | submit login

Dunno, I really appreciate a modular makefile for various tests because it enables you to easily reorder them.

When you run cargo watch or nodemon with “debug”, you can comment out your “debug-command”, write a new one which immediately tests the part you’re cranking on, then the outer “make debug” test runner interface works exactly the same but runs a different order of the same tests so the new code fails quicker if there is an issue.

Definitely agree CI bloat control is crucial, just saying, if you go too “coarse grained” you’re unable to reshuffle the test chunks quite so easily for faster runs. Matters a lot less in Rust since the tests are quick, but in languages like Python, test order can make a huge difference for developer experience.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: