понедельник, 22 июня 2026 г.

Test, xUnit, Console

Test, xUnit, Console

PS D:\Projects\VS02\2606\TplDataflow\Qwen\ActionBlockHubDemoSln\TestProject03> dotnet test --logger "console;verbosity=detailed"

Restore complete (2.2s)

  ActionBlockHubDemo03 net10.0 succeeded with 1 warning(s) (4.4s) → D:\Projects\VS02\2606\TplDataflow\Qwen\ActionBlockHubDemoSln\ActionBlockHubDemo03\bin\Debug\net10.0\ActionBlockHubDemo03.dll

    D:\Projects\VS02\2606\TplDataflow\Qwen\ActionBlockHubDemoSln\ActionBlockHubDemo03\Services\ActionBlockHub.cs(66,35): warning CS8601: Possible null reference assignment.

  TestProject03 net10.0 succeeded (2.8s) → bin\Debug\net10.0\TestProject03.dll

A total of 1 test files matched the specified pattern.

D:\Projects\VS02\2606\TplDataflow\Qwen\ActionBlockHubDemoSln\TestProject03\bin\Debug\net10.0\TestProject03.dll

[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.4+50e68bbb8b (64-bit .NET 10.0.9)

[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.4+50e68bbb8b (64-bit .NET 10.0.9)

[xUnit.net 00:00:00.29]   Discovering: TestProject03

----------------------------------------------------------------------

PS D:\Projects\VS02\2606\TplDataflow\Qwen\ActionBlockHubDemoSln\TestProject03> dotnet test --logger "console;verbosity=detailed"

Restore complete (2.2s)

  ActionBlockHubDemo03 net10.0 succeeded with 1 warning(s) (4.4s) → D:\Projects\VS02\2606\TplDataflow\Qwen\ActionBlockHubDemoSln\ActionBlockHubDemo03\bin\Debug\net10.0\ActionBlockHubDemo03.dll

    D:\Projects\VS02\2606\TplDataflow\Qwen\ActionBlockHubDemoSln\ActionBlockHubDemo03\Services\ActionBlockHub.cs(66,35): warning CS8601: Possible null reference assignment.

  TestProject03 net10.0 succeeded (2.8s) → bin\Debug\net10.0\TestProject03.dll

A total of 1 test files matched the specified pattern.

D:\Projects\VS02\2606\TplDataflow\Qwen\ActionBlockHubDemoSln\TestProject03\bin\Debug\net10.0\TestProject03.dll

[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.4+50e68bbb8b (64-bit .NET 10.0.9)

[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.4+50e68bbb8b (64-bit .NET 10.0.9)

[xUnit.net 00:00:00.29]   Discovering: TestProject03

суббота, 20 июня 2026 г.

Tests, xUnit, Console, xUnitActionBlockHubDemoSln.slnx

Tests, xUnit, Console, xUnitActionBlockHubDemoSln.slnx

D:\Projects\VS02\2606\TplDataflow\Qwen\ActionBlockHubDemoSln\ActionBlockHubDemoSln.slnx

D:\Projects\VS02\2606\TplDataflow\Qwen\ActionBlockHubDemoSln\TestProject03\TestProject03.csproj

**********************************************************************

** Visual Studio 2026 Developer Command Prompt v18.6.3

** Copyright (c) 2026 Microsoft Corporation

**********************************************************************

D:\Projects\VS02\2606\TplDataflow\Qwen\ActionBlockHubDemoSln>cd testproject03

D:\Projects\VS02\2606\TplDataflow\Qwen\ActionBlockHubDemoSln\TestProject03>dotnet test --logger "console;verbosity=detailed"

Restore complete (2.1s)

  ActionBlockHubDemo03 net10.0 succeeded with 1 warning(s) (4.5s) → D:\Projects\VS02\2606\TplDataflow\Qwen\ActionBlockHubDemoSln\ActionBlockHubDemo03\bin\Debug\net10.0\ActionBlockHubDemo03.dll

    D:\Projects\VS02\2606\TplDataflow\Qwen\ActionBlockHubDemoSln\ActionBlockHubDemo03\Services\ActionBlockHub.cs(66,35): warning CS8601: Possible null reference assignment.

  TestProject03 net10.0 succeeded (1.8s) → bin\Debug\net10.0\TestProject03.dll

A total of 1 test files matched the specified pattern.

D:\Projects\VS02\2606\TplDataflow\Qwen\ActionBlockHubDemoSln\TestProject03\bin\Debug\net10.0\TestProject03.dll

[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.4+50e68bbb8b (64-bit .NET 10.0.9)

[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v3.1.4+50e68bbb8b (64-bit .NET 10.0.9)

[xUnit.net 00:00:00.16]   Discovering: TestProject03

[xUnit.net 00:00:00.16]   Discovering: TestProject03

[xUnit.net 00:00:00.23]   Discovered:  TestProject03

[xUnit.net 00:00:00.23]   Discovered:  TestProject03

[xUnit.net 00:00:00.27]   Starting:    TestProject03

[xUnit.net 00:00:00.27]   Starting:    TestProject03

     Warning:

     Warning:

     The component "Fluent Assertions" is governed by the rules defined in the Xceed License Agreement and

     The component "Fluent Assertions" is governed by the rules defined in the Xceed License Agreement and

     the Xceed Fluent Assertions Community License. You may use Fluent Assertions free of charge for

     the Xceed Fluent Assertions Community License. You may use Fluent Assertions free of charge for

     non-commercial use only. An active subscription is required to use Fluent Assertions for commercial use.

     non-commercial use only. An active subscription is required to use Fluent Assertions for commercial use.

     Please contact Xceed Sales mailto:sales@xceed.com to acquire a subscription at a very low cost.

     Please contact Xceed Sales mailto:sales@xceed.com to acquire a subscription at a very low cost.

     A paid commercial license supports the development and continued increasing support of

     A paid commercial license supports the development and continued increasing support of

     Fluent Assertions users under both commercial and community licenses. Help us

     Fluent Assertions users under both commercial and community licenses. Help us

     keep Fluent Assertions at the forefront of unit testing.

     keep Fluent Assertions at the forefront of unit testing.

     For more information, visit https://xceed.com/products/unit-testing/fluent-assertions/

     For more information, visit https://xceed.com/products/unit-testing/fluent-assertions/

[xUnit.net 00:00:00.73]   Finished:    TestProject03

[xUnit.net 00:00:00.73]   Finished:    TestProject03

  Passed ActionBlockHubDemo.Tests.ActionBlockHubTests.PublishAsync_InvalidKey_ThrowsKeyNotFoundException [330 ms]

  Passed ActionBlockHubDemo.Tests.ActionBlockHubTests.PublishAsync_MessageProcessed_IncrementsSuccessCounter [31 ms]

  Passed ActionBlockHubDemo.Tests.ActionBlockHubTests.PublishAsync_HandlerThrowsException_MessageGoesToDLQ [23 ms]


Test Run Successful.

Total tests: 3

     Passed: 3

 Total time: 1.7666 Seconds

  TestProject03 test net10.0 succeeded (3.3s)


Test summary: total: 3, failed: 0, succeeded: 3, skipped: 0, duration: 3.3s

Build succeeded with 1 warning(s) in 14.1s


D:\Projects\VS02\2606\TplDataflow\Qwen\ActionBlockHubDemoSln\TestProject03>