In Substrate, benchmarks are not automatically run when running cargo test, meaning that PRs may be mergable if only cargo test is used to verify the codebase. It is quite trivial to configure benchmarks to run during testing (we do it in every Composable pallet), so a lint that ensures that this method is used would be useful.
In Substrate, benchmarks are not automatically run when running cargo test, meaning that PRs may be mergable if only
cargo test
is used to verify the codebase. It is quite trivial to configure benchmarks to run during testing (we do it in every Composable pallet), so a lint that ensures that this method is used would be useful.