Closed skyzh closed 1 year ago
Is it really reasonable to include e2e test when calculating coverage?
Our java frontend uses e2e for coverage. When we have a Rust frontend, we also need this.
cargo llvm provides an easy way to run external tests:
https://github.com/taiki-e/cargo-llvm-cov#get-coverage-of-external-tests
We can use this to generate e2e test coverage.
Currently, e2e doesn't take Rust codebase into account when calculating coverage. In the future, we should do this.