Open
Description
the semantic should be something similar as below:
Note: this is allowed in NUnit already (BeforeTest
& AfterTest
hooks)
public class BeforeAfterTestMethodGlobalHook
{
[GlobalBeforeTestMethod]
public async Task BeforeTestMethodAsync(TestContext testContext)
{
// ...
}
[GlobalAfterTestMethod]
public async Task AfterTestMethodAsync(TestContext testContext)
{
// ...
}
}
Activity