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

Where I write code we use git hooks to run linting and unit tests on pre-commit and integration tests on pre-push, and anyone using --no-verify gets a stern talking to. No one gets code in to the repo if it breaks the tests.

I'm still working on a way to stop commits that drop the coverage below a threshold so even new code can't be added if it isn't tested.




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

Search: