mahout icon indicating copy to clipboard operation
mahout copied to clipboard

[Feature] Enhance Module Testing Coverage

Open viiccwen opened this issue 9 months ago • 5 comments

What

Incrementally increase coverage in critical modules.

Why

Current coverage is extremely low and uneven across modules.

Image

viiccwen avatar Feb 16 '26 13:02 viiccwen

Everyone can raises PR by referencing this issue.

viiccwen avatar Feb 16 '26 13:02 viiccwen

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.

alisha-1000 avatar Feb 23 '26 05:02 alisha-1000

Pls go ahead with qdp-python first, you can use make test_python to get coverage report and choose one file.

viiccwen avatar Feb 23 '26 05:02 viiccwen

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.py to 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.

alisha-1000 avatar Feb 23 '26 09:02 alisha-1000

@guan404ming, could u reopen this issue? there's still lots of file needs to be enhanced. (testing coverage)

viiccwen avatar Feb 27 '26 10:02 viiccwen