-
Notifications
You must be signed in to change notification settings - Fork 0
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: update tests for ExonGenomicCoordsMapper
#364
Conversation
korikuzma
commented
Aug 26, 2024
- remove unnecessary tests
- add more edge cases
- create tests for private methods
addresses #224 * No code was changed in the classes or methods
* Also removed unnecessary mismatch checks. The way that exon coordinates are passed, there will never be a case where there would be a mismatch. Updated docstring accordingly with this assumption.
is this necessary? ostensibly the only behavior that matters is what's public -- is there something that our public method tests aren't capturing? I worry about creating redundant tests that we then have to do twice the work to maintain in the future |
@jsstevenson There are definitely pros/cons to testing private methods. This was a good exercise for me to better understand the codebase, think of edge cases, and see if private methods needed to be changed. I can change to only test public methods! |
This PR is stale because it has been open 7 day(s) with no activity. Please review this PR. |
This PR is stale because it has been open 7 day(s) with no activity. Please review this PR. |
This PR is stale because it has been open 7 day(s) with no activity. Please review this PR. |
Closing for now until I can come back to this |