Skip to content

[Feature]: LoggingProvider for DI style tests #4748

@JohnGalt1717

Description

@JohnGalt1717

Problem Statement

Right now if you're using DI and it's creating ILoggers there is no way to force direct this to Tunit so that we can get live output.

Proposed Solution

It would be nice if there was a formal Tunit Logging Provider that could be registered in IApplicationHost.Logging.AddProvider() so that we could dump all of the log data.

Alternatives Considered

No response

Feature Category

Test Execution / Lifecycle

How important is this feature to you?

Important - significantly impacts my workflow

Additional Context

Right now I can't see a way to create my own Logging Provider from the current logger stuff that is in the TestContext. Maybe I'm wrong?

Contribution

  • I'm willing to submit a pull request for this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions