Skip to content

Fix docs #53

@PandaMagnus

Description

@PandaMagnus

The docs I just updated missed updating part of them for async/await. The following code snippet:

[Fact]
public void Test1()
{
   TestBuilder builder = new();

   builder.AddAsyncTestBlock<TestBlocks.VerifyAwait>()

   TestCase test = builder.Build()
   test.ExecuteAsync();
}

Should be updated to:

[Fact]
public async Task Test1()
{
   TestBuilder builder = new();

   builder.AddAsyncTestBlock<TestBlocks.VerifyAwait>()

   TestCase test = builder.Build()
   await test.ExecuteAsync();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions