[Feature] Enhance Module Testing Coverage
What
Incrementally increase coverage in critical modules.
Why
Current coverage is extremely low and uneven across modules.
Everyone can raises PR by referencing this issue.
Hi @viiccwen,
I’d like to contribute by improving test coverage for selected critical modules.
I’ll start by identifying modules with low coverage and propose focused unit tests to improve reliability incrementally.
Please let me know if there are specific modules you’d like prioritized.
Pls go ahead with qdp-python first, you can use make test_python to get coverage report and choose one file.
Hi @viiccwen,
Following your suggestion to focus on qdp-python, I’ve worked on improving coverage for two modules so far:
- #1082 – Improved coverage for
amazon_braket_backend.py(~90% → 99%) - #1084 – Added tests for
qumat/qdp.pyto validate import fallback and stub behavior
Both PRs are test-focused and exercise previously uncovered branches.
I’ll continue reviewing the coverage report from make test_python and plan to work on the next low-coverage module (likely cirq_backend.py) unless you’d prefer a different priority.
Please let me know if you’d like me to focus on a specific area next.
@guan404ming, could u reopen this issue? there's still lots of file needs to be enhanced. (testing coverage)