Skip to content

Before(TestSession) ignores HookExecutor #2749

@Nice3point

Description

@Nice3point

TUnit version: 0.50.0

    [Before(TestSession)]
    [HookExecutor<STAThreadExecutor>]
    public static void Setup()
    {
    }

In the latest version, Before(TestSession) ignores HookExecutor. The code is executed in MTA when it should be in STA. ExecuteAsync is not executed

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions