-
Notifications
You must be signed in to change notification settings - Fork 744
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
Add test for tests. #4063
base: master
Are you sure you want to change the base?
Add test for tests. #4063
Conversation
Code coverage summaryNote:
adapterstestRefer here for heat map coverage report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I appreciate your concern for test coverage within this project.
I've reviewed the findings and most of the directories without test coverage are either only data models or a contain a very small abstraction for the benefit of tests where real tests are not practical. I'm not in favor of forcing these tests to exist.
Is there a problem you're looking to solve?
There is already a build action running on all PRs to enforce a minimum test coverage. Further all PRs are reviewed for test coverage before being accepted. You'll see the results of that action above my comment with a link to a visual representation of coverage for easy review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This directory contains the json test framework for adapters. Perhaps it could be moved up a level.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This directory only contains data models. There is nothing to test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This directory only contains a single line abstraction around the default http client. There is no need for tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This directory only contains data models and interfaces. There is nothing to test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could benefit from tests for some types like ChangeSetBids
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This directory only contains test helper methods There is nothing to test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This directory implements a no-op cache. There is nothing to test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This directory abstracts a random generator specifically for reliable tests. There is nothing to test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This directory abstracts a the clock specifically for reliable tests. There is nothing to test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This directory abstracts a random generator specifically for reliable tests. There is nothing to test.
https://gist.github.com/scr-oath/abe6c58cad4ca3913820162571132383