diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index e20c798..887fee6 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -36,7 +36,7 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | - 6.x + 8.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a004365..937e229 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,7 +20,7 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | - 6.x + 8.x - name: Restore dependencies run: dotnet restore - name: Set Version diff --git a/ExampleTests/ExampleTests/ExampleTests.csproj b/ExampleTests/ExampleTests/ExampleTests.csproj index 5da03ed..ba6e2fb 100644 --- a/ExampleTests/ExampleTests/ExampleTests.csproj +++ b/ExampleTests/ExampleTests/ExampleTests.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 11.0 enable @@ -15,11 +15,11 @@ all - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/IntelliTect.TestTools.TestFramework.Tests/IntelliTect.TestTools.TestFramework.Tests.csproj b/IntelliTect.TestTools.TestFramework.Tests/IntelliTect.TestTools.TestFramework.Tests.csproj index dc8fae5..754badb 100644 --- a/IntelliTect.TestTools.TestFramework.Tests/IntelliTect.TestTools.TestFramework.Tests.csproj +++ b/IntelliTect.TestTools.TestFramework.Tests/IntelliTect.TestTools.TestFramework.Tests.csproj @@ -15,9 +15,9 @@ all - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/IntelliTect.TestTools.TestFramework/IntelliTect.TestTools.TestFramework.csproj b/IntelliTect.TestTools.TestFramework/IntelliTect.TestTools.TestFramework.csproj index a40b440..2d22a8a 100644 --- a/IntelliTect.TestTools.TestFramework/IntelliTect.TestTools.TestFramework.csproj +++ b/IntelliTect.TestTools.TestFramework/IntelliTect.TestTools.TestFramework.csproj @@ -14,9 +14,9 @@ all - - - + + + diff --git a/IntelliTect.TestTools.sln b/IntelliTect.TestTools.sln index 8aa5714..29cbae7 100644 --- a/IntelliTect.TestTools.sln +++ b/IntelliTect.TestTools.sln @@ -11,6 +11,13 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IntelliTect.TestTools.TestF EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IntelliTect.TestTools.TestFramework.Tests", "IntelliTect.TestTools.TestFramework.Tests\IntelliTect.TestTools.TestFramework.Tests.csproj", "{B23739CA-39AF-4721-A40A-FCA06F418FF5}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{30894326-4769-46BF-A4D6-1152B790F89F}" + ProjectSection(SolutionItems) = preProject + .github\workflows\build-and-test.yml = .github\workflows\build-and-test.yml + .github\dependabot.yml = .github\dependabot.yml + .github\workflows\deploy.yml = .github\workflows\deploy.yml + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU diff --git a/README.md b/README.md index 57e974f..c3327d7 100644 --- a/README.md +++ b/README.md @@ -107,14 +107,14 @@ internal class VerifyAwait : ITestBlock To properly await this, you would build and execute your test case like so: ``` [Fact] -public void Test1() +public async Task Test1() { TestBuilder builder = new(); builder.AddAsyncTestBlock() TestCase test = builder.Build() - test.ExecuteAsync(); + await test.ExecuteAsync(); } ```