dbrgn / tracing-test

Access and evaluate tracing logs in async and sync tests.
Apache License 2.0
52 stars 26 forks source link

Fix incompatibility with llvm-cov #29

Closed Finomnis closed 8 months ago

Finomnis commented 8 months ago

Rationale

Coverage generated by llvm-cov frequently report #[traced_test] as uncovered. (example)

Reason is that the generated code in call_once only gets executed once per project, and hence all tests (except one) report the code inside of it as uncovered. Another reason is that the functions logs_contain and logs_assert do not necessarily have to be used by the programmer.

Solution

Todo:

Finomnis commented 8 months ago

Closed due to inactivity.