oncoray / mirp

Medical Image Radiomics Processor
https://oncoray.github.io/mirp/
European Union Public License 1.2
51 stars 14 forks source link

JOSS review item: CI #75

Closed Matthew-Jennings closed 4 months ago

Matthew-Jennings commented 6 months ago
  1. FWIW, my investigations show ~75% test coverage. This isn't too bad, but it might be worth dedicating some spare time to lifting it a little, especially for the files with little-to-no coverage. See mirp_coverage.xlsx for per-file coverage details.

  2. Improvements to temporary test directory handling are in #74. Not important for JOSS publication.

  3. Comments related to implementation of GitHub CI can be found here and here. Not important for JOSS publication.

alexzwanenburg commented 6 months ago

I have increased test coverage to 89% by writing additional tests. Some tests remain.

Matthew-Jennings commented 6 months ago

I get 84%. See mirp_coverage_24-04-07.xlsx. Not quite 89%! But probably enough 😄

For fair comparison, I'm using pytest-cov with the following command run from the repo's root:

pytest -v --color=yes --cov=mirp --cov-report html --cov-report term --cov-report xml:cov.xml -n=14

Very pleased to find that I was able to run pytest-xdist (the -n=14) with no issue!

alexzwanenburg commented 6 months ago

Thanks again for the pull request that made pytest-xdist possible. One difference may be that my coverage results included the tests themselves.

alexzwanenburg commented 5 months ago

To expose (and test) SUV conversion we need to do the following:

alexzwanenburg commented 5 months ago

I made some progress in coverage with version 2.2.1. I am leaving this issue open as I need to create new test data to test remaining parts of the code.

Matthew-Jennings commented 5 months ago

No worries, @alexzwanenburg. At 86% coverage, I'm happy to consider this item "closed" from a JOSS review perspective.