qadence
qadence copied to clipboard
[Testing] Speed up Test Suite, Push Code Coverage above 90%
Main bottlenecks:
- 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)
- shadows/tomography
- PSR tests in general
- PSR tests which compute higher order derivatives
- tests which train models (ML tools)
- redundant test cases in many mark.parametrize-tests
- tests which do exactly the same thing, like in test_quantum_models and test_backends for example (test run,sample, expectation for random circuits)
@dominikandreasseitz maybe some of the above has already been done, could you check and update? Thanks
@dominikandreasseitz @jpmoutinho Is it still relevant ? Some of these tests have move in few other places.