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

internal: Introduce logging unit testing #316

Merged
merged 1 commit into from May 5, 2022
Merged

Commits on May 4, 2022

  1. internal: Introduce logging unit testing

    Creates internal/testing/emptyprovider so it can be shared for multiple packages, then uses it to verify the logging setup with `(internal/proto6server.Server).GetProviderSchema()`. This could be expanded to other RPC handlers, if desired and the testing setup is trivial enough. Also added unit testing within internal/logging to ensure it is fully covered.
    bflad committed May 4, 2022
    Copy the full SHA
    6fef34d View commit details
    Browse the repository at this point in the history