-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Rename test packages #965
Comments
The |
Hello, I'd love to take this as first contribution. |
@eundoosong yeah, you'll need to update all the test packages to complete this issue. How you want to structure that in PRs and commits is up to you. Just ask that it is presented for review in a somewhat clear and digestable form. Also, you'll want to wait on #977 to land as it cleans up some of the use of the |
@eundoosong it might also be a good approach to look into what needs to be done with |
@MrAlias |
@eundoosong are you still able to work on the reset of the renamings? |
Sorry, I have been busy for another task at work. |
@MrAlias
After some investigation in |
@MrAlias Ping |
@eundoosong sorry about the delay. Sounds like just renaming |
Testing package names are not consistent:
sdk/metric/processor/test
sdk/metric/aggregator/test
sdk/metric/controller/test
exporters/metric/test
internal/testing
api/testharness
api/trace/testtrace
Unify these package names to follow the standard library naming convention of
{package name}test
. E.g.io/iotest
http/httptest
So the above listed would become:
sdk/metric/processor/processortest
sdk/metric/aggregator/aggregatortest
sdk/metric/controller/controllertest
exporters/metric/metrictest
internal/internaltest
*api/apitest
api/trace/tracetest
[*] The
internal/testing
package should likely be investigated to see if it can be renamed or merged into something more reflective of the purpose it serves. Theinternal/metric
package also includes testing mocks that could be related. Otherwise, renaming tointernal/internaltest
would be preferred if it cannot be restructured.The text was updated successfully, but these errors were encountered: