Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test coverage #25

Open
keewis opened this issue Aug 4, 2023 · 1 comment
Open

test coverage #25

keewis opened this issue Aug 4, 2023 · 1 comment

Comments

@keewis
Copy link
Collaborator

keewis commented Aug 4, 2023

While having a 100% test coverage is not realistic, it should be above 90%.

In the case of this library, the structure definitions themselves are not really testable (we can run them anyways, but that will only reveal bugs in the helper functions).

@keewis
Copy link
Collaborator Author

keewis commented Aug 24, 2023

as of now we're at 94% test coverage, which is already pretty good. However, there are a few functions / modules I skipped over because writing tests for them seemed tricky:

  • ceos_alos2.io.open
  • ceos_alos2.sar_image.open_image
  • the ceos_alos2.sar_image cli for creating cache files
  • the ceos_alos2.sar_trailer module – for this, we need to decide whether being able to read the preview files is actually necessary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant