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

Improve testing coverage #52

Open
anissa111 opened this issue Jun 10, 2022 · 2 comments · May be fixed by #1085
Open

Improve testing coverage #52

anissa111 opened this issue Jun 10, 2022 · 2 comments · May be fixed by #1085
Assignees
Labels
improvement Improvements on existing features or infrastructure testing Test Cases
Milestone

Comments

@anissa111
Copy link
Member

anissa111 commented Jun 10, 2022

Also mentioned by @anissa111 in #88 (comment)

At time of writing, testing coverage according to Codecov is 64%. Additionally, some of the tests we're currently running use "magic number" correct answers. While this is fine to some extent, it would also be nice to have some easily hand-verifiable answers for:

  • easier testing over a variety of edge cases
  • testing on multiple, small, minimal grids for speed
  • an easier time debugging
  • easier development process where intermediate results are more easily verifiable
  • documentation and examples in the future
  • lower barrier to entry for contributors in the future

Some specific areas of proposed improvement:

  • creation of "test data" that can be imported with uxarray.test_data(...) or similar
  • increase tests for helpers.py, which currently has testing coverage of 27%
  • more tests for edge cases rather than primarily tests that verify ideal code usage
  • possible expansion of __from_verts__ to include entire, proper, grid initialization
  • ideally, implementation of the verify function
@anissa111 anissa111 moved this to 📝 To Do in UXarray Development Jun 10, 2022
@anissa111 anissa111 added the new feature New feature or request label Aug 4, 2022
@erogluorhan erogluorhan added this to the Testing milestone Sep 12, 2023
@erogluorhan erogluorhan added testing Test Cases improvement Improvements on existing features or infrastructure and removed new feature New feature or request labels Oct 25, 2023
@philipc2 philipc2 moved this from 📚 Backlog to 📝 To-Do in UXarray Development Sep 12, 2024
@philipc2 philipc2 pinned this issue Sep 15, 2024
@philipc2 philipc2 self-assigned this Sep 16, 2024
@philipc2
Copy link
Member

Will close this issue once we reach about 85-90% coverage.

@philipc2
Copy link
Member

philipc2 commented Sep 17, 2024

Delegation:

@aaronzedwick aaronzedwick linked a pull request Nov 22, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvements on existing features or infrastructure testing Test Cases
Projects
Status: 🏗 In progress
Development

Successfully merging a pull request may close this issue.

4 participants