kreshuklab / plant-seg

A tool for cell instance aware segmentation in densely packed 3D volumetric images
https://kreshuklab.github.io/plant-seg/
MIT License
89 stars 30 forks source link

Need tests for core functionalities #253

Open qin-yu opened 1 month ago

qin-yu commented 1 month ago

There has been a folder of tests, which inspired me to write tests for the model zoo module. Additionally, I observed some inconsistencies in the tests for the zarr module and revamped them. Let's keep up the momentum!

Core Functionalities

By core functionalities, I refer to everything available in the Napari GUI and its headless mode. Although there are overlapping functionalities and modules from the Legacy GUI/CLI, our focus should be on Napari and Headless for PlantSeg 2.0.

Code Coverage and Testing

Setting up Codecov to monitor every PR might be excessive at this stage. However, we still need to maintain awareness of our test coverage, and identify the current gaps in our tests. Is there an automated way to determine the missing tests?

Modules

Feel free to expand and organize the list of areas needing tests: