ryankert01 opened a new issue, #828:
URL: https://github.com/apache/mahout/issues/828
### Description
Move tests from `qdp/qdp-python/tests/` to `testing/qdp/` and reorganize
existing tests into `testing/qumat/` subdirectory.
### Context
This is the main structural change that enables a unified test experience.
After this change, all tests will be under `testing/` with clear separation
between qumat and qdp tests.
### Current Structure
```
testing/
├── test_single_qubit_gates.py
├── test_rotation_gates.py
├── test_multi_qubit_gates.py
├── test_create_circuit.py
├── test_final_quantum_states.py
├── test_overlap_measurement.py
├── test_parameter_binding.py
├── test_swap_test.py
└── utils/
qdp/qdp-python/tests/
├── test_bindings.py
├── test_numpy.py
└── test_high_fidelity.py
```
### Target Structure
```
testing/
├── conftest.py # Shared fixtures
├── qumat/
│ ├── __init__.py
│ ├── test_single_qubit_gates.py
│ ├── test_rotation_gates.py
│ ├── test_multi_qubit_gates.py
│ ├── test_create_circuit.py
│ ├── test_final_quantum_states.py
│ ├── test_overlap_measurement.py
│ ├── test_parameter_binding.py
│ └── test_swap_test.py
├── qdp/
│ ├── __init__.py
│ ├── test_bindings.py
│ ├── test_numpy.py
│ └── test_high_fidelity.py
└── utils/
└── (unchanged)
```
### Acceptance Criteria
- [ ] Create `testing/qumat/` directory
- [ ] Move existing `testing/test_*.py` files to `testing/qumat/`
- [ ] Create `testing/qdp/` directory
- [ ] Move `qdp/qdp-python/tests/*.py` to `testing/qdp/`
- [ ] Add `__init__.py` files to new directories
- [ ] Update any relative imports in moved test files
- [ ] Ensure tests in `testing/qdp/` have `@pytest.mark.gpu` where
appropriate
- [ ] Delete empty `qdp/qdp-python/tests/` directory
- [ ] All tests pass from repository root with `pytest`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]