You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to generate code coverage for a WASM(*) project that is not using the NEAR framework and post those results to codecov.io.
The README and other documentation says (cryptically) ...
// Invoke a function to preserve the coverage data or use `println!` for debugging.
... but provides no example for what function to call or where to place the file.
From what I can tell, the result of calling cargo +nightly wasmcov test -- --all-features generates no .profraw files or .lcov files and I can't find any supporting documentation to tell me how to generate those.
I'd like to generate code coverage for a WASM(*) project that is not using the NEAR framework and post those results to codecov.io.
The README and other documentation says (cryptically) ...
// Invoke a function to preserve the coverage data or use `println!` for debugging.
... but provides no example for what function to call or where to place the file.
From what I can tell, the result of calling
cargo +nightly wasmcov test -- --all-features
generates no.profraw
files or.lcov
files and I can't find any supporting documentation to tell me how to generate those.Please review the output of the following CI test run (https://github.com/scouten-adobe/TEMP-c2pa-crypto/actions/runs/10513025492/job/29127668743), specifically the "Unit tests (WASM, nightly, code coverage)" job, where I've run the above step and then dumped the contents of the target and wasmcov trees afterwards.
What am I missing?
(*) Also runs on other non-WASM platforms. Coverage reports there are working as intended.
The text was updated successfully, but these errors were encountered: