Coverage reports are missing runs where the forest binary is executed directly, e.g. cli tests. Some attempts were made with adding --follow-exec to tarpaulin (perhaps the executed binary was not the instrumented one) or creating explicitly an instrumented binary (which was severely timing out, >20mins).
Task summary
[ ] Investigate how we can make binary tests with coverage check (most likely it should be one binary for most cases, except where some fancy features are used)
Issue summary
Coverage reports are missing runs where the
forest
binary is executed directly, e.g. cli tests. Some attempts were made with adding--follow-exec
totarpaulin
(perhaps the executed binary was not the instrumented one) or creating explicitly an instrumented binary (which was severely timing out, >20mins).Task summary
Acceptance Criteria
main
is at least partially coveredOther information and links
https://github.com/assert-rs/assert_cmd/issues/57 https://docs.rs/escargot/latest/escargot/ https://github.com/xd009642/tarpaulin/issues/105
An attempt at building instrumented binary once for all tests