(base) ➜ move git:(main) ✗ sui move coverage source --module vote --test
thread 'main' panicked at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/str/mod.rs:658:13:
byte index 4294967206 is out of bounds of `;`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[1] 709844 IOT instruction (core dumped) sui move coverage source --module vote --test
Hi! If you can throw together a minimal example of the source that triggers this we can look into it further, in case it’s not expected. If it’s expected to add #[test_only], maybe we can add more helpful error messages when running the coverage command.
The ‘vote_tests’ module was indeed under a tests folder.
The unbound module error was key, a ‘sui move build’, ‘sui move prove’ also failed to work I figured out later.
The issue in the end had not much to do with the coverage map.