Skip to content

TestContext.Current is null when injecting properties in 1.4.0 #3991

@seahurricanelemonade

Description

@seahurricanelemonade

Hi

Just upgraded from 1.3.15 -> 1.4.0

I noticed that one of my properties that is automatically injected is now throwing a NPE as the current testcontext is unavailable at time of InitializeAsync (I'm trying to use the CancellationToken from the test context).

Was this change intended?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions