scikit-learn-contrib / hiclass

A python library for hierarchical classification compatible with scikit-learn
BSD 3-Clause "New" or "Revised" License
113 stars 20 forks source link

Refactor parametrized tests #99

Closed ashishpatel16 closed 9 months ago

ashishpatel16 commented 9 months ago

The following test cases were redundant across test_LocalClassifierPerNode, test_LocalClassifierPerParentNode and test_LocalClassifierPerLevel -

This PR aims at using parametrized tests for executing these tests in a separate file test_LocalClassifiers, where all the common test cases should be written.

codecov-commenter commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (main@86a1296). Click here to learn what that means.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #99 +/- ## ======================================= Coverage ? 98.40% ======================================= Files ? 8 Lines ? 566 Branches ? 0 ======================================= Hits ? 557 Misses ? 9 Partials ? 0 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.