qadence icon indicating copy to clipboard operation
qadence copied to clipboard

[Testing] Speed up Test Suite, Push Code Coverage above 90%

Open jpmoutinho opened this issue 1 year ago • 2 comments

Main bottlenecks:

  1. not using pytest-xdist (TOP prio which has been investigated by both @seitzdom and @m.dagrada only to result in issues with gitlab runners, this however change when we switch to github)
  2. shadows/tomography
  3. PSR tests in general
  4. PSR tests which compute higher order derivatives
  5. tests which train models (ML tools)
  6. redundant test cases in many mark.parametrize-tests
  7. tests which do exactly the same thing, like in test_quantum_models and test_backends for example (test run,sample, expectation for random circuits)

jpmoutinho avatar Jan 30 '24 15:01 jpmoutinho

@dominikandreasseitz maybe some of the above has already been done, could you check and update? Thanks

jpmoutinho avatar Jan 30 '24 15:01 jpmoutinho

@dominikandreasseitz @jpmoutinho Is it still relevant ? Some of these tests have move in few other places.

RolandMacDoland avatar Apr 05 '24 11:04 RolandMacDoland