Skip to content

refactor: increase test coverage for Results #311

refactor: increase test coverage for Results

refactor: increase test coverage for Results #311

Triggered via pull request November 17, 2024 13:03
Status Failure
Total duration 4m 36s
Artifacts 6

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 13 warnings
Test (MacOS)
Process completed with exit code 1.
Test (Ubuntu)
Process completed with exit code 1.
Test (Windows)
Process completed with exit code 1.
Testably.Expectations.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyExpectations("net6.0"): Tests/Api/Testably.Expectations.Api.Tests/ApiApprovalTests.cs#L18
Failed test found in: _Mac-1731846579129_2024-11-17_13_05_09.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 207718 but was 207580. Strings differ at index 199300. Expected: "...Awaiter GetAwaiter() { }\n public Testably.Expectati..." But was: "...Awaiter GetAwaiter() { }\n }\n public class Expectatio..." --------------------------------------------^
Testably.Expectations.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyExpectations("net8.0"): Tests/Api/Testably.Expectations.Api.Tests/ApiApprovalTests.cs#L18
Failed test found in: _Mac-1731846579129_2024-11-17_13_05_09.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 207718 but was 207580. Strings differ at index 199300. Expected: "...Awaiter GetAwaiter() { }\n public Testably.Expectati..." But was: "...Awaiter GetAwaiter() { }\n }\n public class Expectatio..." --------------------------------------------^
Testably.Expectations.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyExpectations("netstandard2.0"): Tests/Api/Testably.Expectations.Api.Tests/ApiApprovalTests.cs#L18
Failed test found in: _Mac-1731846579129_2024-11-17_13_05_09.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 179765 but was 179627. Strings differ at index 171347. Expected: "...Awaiter GetAwaiter() { }\n public Testably.Expectati..." But was: "...Awaiter GetAwaiter() { }\n }\n public class Expectatio..." --------------------------------------------^
Testably.Expectations.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyExpectations("net6.0"): Tests/Api/Testably.Expectations.Api.Tests/ApiApprovalTests.cs#L18
Failed test found in: _fv-az738-625_2024-11-17_13_05_54[1].trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 207718 but was 207580. Strings differ at index 199300. Expected: "...Awaiter GetAwaiter() { }\n public Testably.Expectati..." But was: "...Awaiter GetAwaiter() { }\n }\n public class Expectatio..." --------------------------------------------^
Testably.Expectations.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyExpectations("net8.0"): Tests/Api/Testably.Expectations.Api.Tests/ApiApprovalTests.cs#L18
Failed test found in: _fv-az738-625_2024-11-17_13_05_54[1].trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 207718 but was 207580. Strings differ at index 199300. Expected: "...Awaiter GetAwaiter() { }\n public Testably.Expectati..." But was: "...Awaiter GetAwaiter() { }\n }\n public class Expectatio..." --------------------------------------------^
Testably.Expectations.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyExpectations("netstandard2.0"): Tests/Api/Testably.Expectations.Api.Tests/ApiApprovalTests.cs#L18
Failed test found in: _fv-az738-625_2024-11-17_13_05_54[1].trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 179765 but was 179627. Strings differ at index 171347. Expected: "...Awaiter GetAwaiter() { }\n public Testably.Expectati..." But was: "...Awaiter GetAwaiter() { }\n }\n public class Expectatio..." --------------------------------------------^
Testably.Expectations.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyExpectations("net6.0"): Tests/Api/Testably.Expectations.Api.Tests/ApiApprovalTests.cs#L18
Failed test found in: runneradmin_fv-az1388-746_2024-11-17_13_06_35.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 207718 but was 207580. Strings differ at index 199300. Expected: "...Awaiter GetAwaiter() { }\n public Testably.Expectati..." But was: "...Awaiter GetAwaiter() { }\n }\n public class Expectatio..." --------------------------------------------^
Testably.Expectations.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyExpectations("net8.0"): Tests/Api/Testably.Expectations.Api.Tests/ApiApprovalTests.cs#L18
Failed test found in: runneradmin_fv-az1388-746_2024-11-17_13_06_35.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 207718 but was 207580. Strings differ at index 199300. Expected: "...Awaiter GetAwaiter() { }\n public Testably.Expectati..." But was: "...Awaiter GetAwaiter() { }\n }\n public class Expectatio..." --------------------------------------------^
Testably.Expectations.Api.Tests.ApiApprovalTests ► VerifyPublicApiForTestablyExpectations("netstandard2.0"): Tests/Api/Testably.Expectations.Api.Tests/ApiApprovalTests.cs#L18
Failed test found in: runneradmin_fv-az1388-746_2024-11-17_13_06_35.trx Error: Assert.That(publicApi, Is.EqualTo(expectedApi)) Expected string length 179765 but was 179627. Strings differ at index 171347. Expected: "...Awaiter GetAwaiter() { }\n public Testably.Expectati..." But was: "...Awaiter GetAwaiter() { }\n }\n public class Expectatio..." --------------------------------------------^
Test (MacOS): Tests/Testably.Expectations.Internal.Tests/Results/ExpectationResultTests.cs#L13
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Test (MacOS): Tests/Testably.Expectations.Internal.Tests/Results/ExpectationResultTests.cs#L13
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Test (MacOS): Tests/Testably.Expectations.Internal.Tests/Results/ExpectationResultTests.cs#L13
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Test (MacOS): Tests/Testably.Expectations.Internal.Tests/Results/ExpectationResultTests.cs#L13
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Test (Ubuntu): Tests/Testably.Expectations.Internal.Tests/Results/ExpectationResultTests.cs#L13
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Test (Ubuntu): Tests/Testably.Expectations.Internal.Tests/Results/ExpectationResultTests.cs#L13
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Test (Ubuntu): Tests/Testably.Expectations.Internal.Tests/Results/ExpectationResultTests.cs#L13
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Test (Ubuntu): Tests/Testably.Expectations.Internal.Tests/Results/ExpectationResultTests.cs#L13
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Test (Windows): Tests/Testably.Expectations.Internal.Tests/Results/ExpectationResultTests.cs#L13
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Test (Windows): Tests/Testably.Expectations.Internal.Tests/Results/ExpectationResultTests.cs#L13
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Test (Windows): Tests/Testably.Expectations.Internal.Tests/Results/ExpectationResultTests.cs#L13
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Test (Windows): Tests/Testably.Expectations.Internal.Tests/Results/ExpectationResultTests.cs#L13
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Code coverage (.NET Framework)", "Stryker", "Test results (.NET Framework)", "Test results (MacOS)", "Test results (Ubuntu)", "Test results (Windows)". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
Code coverage (.NET Framework) Expired
16.3 MB
Stryker Expired
9.98 MB
Test results (.NET Framework) Expired
21.4 MB
Test results (MacOS) Expired
60.2 MB
Test results (Ubuntu) Expired
60.1 MB
Test results (Windows) Expired
60.8 MB