feat request: hook for running rust tests
What:
- add
cargo testhook, that runs test suite of Rust package.
Why:
- support TDD workflows, provide easy hook for teams to add test runs to their pre-commit checks.
- reduce need for packages to use a local hook implementation/workaround
Context:
A standard practice for my projects is to have tests run for each commit and push. My impression of this repo is the go-to for standard Rust hooks including basic cargo functionality. However, I see cargo test is not yet implemented -> feature request! :blush:
It appears this repo has not been updated in ~3 years. Is it possible one of the contributors can lend their perspective on how to proceed? I am open to assisting with implementation, if there are maintainers who can help when the PR is ready for review.
It appears this repo has not been updated in ~3 years. Is it possible one of the contributors can lend their perspective on how to proceed? I am open to assisting with implementation, if there are maintainers who can help when the PR is ready for review.
You can use my frok linked here: https://github.com/FeryET/pre-commit-rust