Skip to content

Make it possible to acccess TestContext.Renderer without putting TestServiceProvider into provider mode #333

@egil

Description

@egil

The ITestRenderer is being pulled from the TestServiceProvider lazily the first time it is requested. However, this is not really a good design decision, since it a property should not have side effects like this. Its surprising to the user.

However, in the interest of not breaking the API for v1, I think this has to stay as is for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogEnhancements which are relevant but not a priority at the moment.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions