Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat request: hook for running rust tests #30

Open
Business-Wizard opened this issue Aug 31, 2023 · 2 comments
Open

feat request: hook for running rust tests #30

Business-Wizard opened this issue Aug 31, 2023 · 2 comments

Comments

@Business-Wizard
Copy link

What:

  • add cargo test hook, 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! 😊

@Business-Wizard
Copy link
Author

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.

@FeryET
Copy link

FeryET commented Sep 29, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants