[FEA]: Cleanup Existing MG Tests #4187
Labels
feature request
New feature or request
improvement
Improvement / enhancement to an existing function
python
Is this a new feature, an improvement, or a change to existing functionality?
Improvement
How would you describe the priority of this feature request
Medium
Please provide a clear description of problem this feature solves
A lot of our existing Python MG algorithm tests are cluttered with old ways of creating edge lists and graphs. We also use a lot of nested pytest fixtures in-place of using the @pytest.parametrize feature, which could improve clarity and reduce the amount of code needed for the same behavior.
Example:
And as a result, the tests also depend on helper functions that could be cleaned up and simplified to pytest fixtures.
Describe your ideal solution
The MG tests can be cleaned up using the
cugraph.datasets
API, which also now supports creation ofdask_cudf
edge lists.We can also use
@pytest.mark.parametrize
in place ofinput_expected_output
Describe any alternatives you have considered
No response
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: