-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Problem
WASM test coverage with wasm-bindgen-test cannot be reliably implemented with current tooling.
Investigation Results
After extensive research and testing:
- wasmcov - Does not work with wasm-bindgen-test, runs native tests instead
- wasm-bindgen-test coverage - Experimental, unstable, requires complex setup
- No public examples - No working GitHub repositories with WASM coverage + codecov
- LLVM profraw files - Not generated without browser/node runner executing tests
- wasm-bindgen project - Disables coverage where possible
Technical Issues
cargo wasmcov testexecutes native tests, not wasm32 target- profraw files are not generated without test execution
- lcov output is empty (0 bytes)
- Requires browser/node runner with complex LLVM tooling setup
- Feature is marked as experimental and unreliable
Solution
Removed WASM coverage job from CI in PR #139:
- Removed wasm-coverage job from workflow
- Removed wasmcov dependency
- Removed capture_coverage function
- Updated codecov configuration
- Keep only native coverage which works correctly
Native coverage provides comprehensive test coverage and works reliably.
Future
This can be revisited when:
- wasm-bindgen-test coverage becomes stable
- Working tools and examples are available
- Community adoption increases
Closes #130
Metadata
Metadata
Assignees
Labels
No labels