Tests are not meant to be manually run each time you write code. It would be a bad usage of your precious time as Rust takes a loooong time to compile
Here is how to automate your CI pipeline for #Rust projects: https://kerkour.com/rust-github-actions-ci-cd