-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
good first issueGood for newcomersGood for newcomersreleasedIncluded in a releaseIncluded in a releasetesting 🧪Additional automated testsAdditional automated tests
Description
The tests for the plotting methods
Column.boxplotColumn.histogramTable.correlation_heatmapTable.lineplotTable.scatterplot
are insufficient. Now that the plotting methods return an Image (#159), we can test them more thoroughly:
- Write test code that calls the plotting method on some simple data.
- Store the output in a PNG file in
tests/resources/image. - Put the test code into a
pytestfunction to compute the current output of the plotting method. - Load the image file to get the expected output.
- Assert that the images are equal.
This way we can easily detect regressions, e.g. when we update dependencies.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersreleasedIncluded in a releaseIncluded in a releasetesting 🧪Additional automated testsAdditional automated tests
Type
Projects
Status
✔️ Done