使用最新的 NUnit3TestAdapter 版本 4+ 显示通过的测试 运行

Display passed tests while they run with latest NUnit3TestAdapter version 4+

我遇到了一个愚蠢的问题,在 dotnet 5 下使用 Nunit3TestAdapter 版本 3,我可以在测试通过时看到它们,并详细说明了执行时间,以下抄本中的“通过测试 1”,只要冗长至少设置为正常:

$ dotnet test -v normal
[...]
NUnit Adapter 3.17.0.0: Test execution complete
  Passed Test1 [21 ms]
  Passed Test2 [< 1 ms]

Test Run Successful.
Total tests: 2
     Passed: 2

我最近升级到 dotnet 6 和 nunit 适配器 4.2.0,现在我无法显示详细的输出,即使有更高(详细)的详细信息:

$ dotnet test -v detailed
[...]
Test run for /tmp/nunit-repro/bin/Debug/net6.0/nunit-repro.dll (.NETCoreApp,Version=v6.0)
Microsoft (R) Test Execution Command Line Tool Version 17.0.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.

Passed!  - Failed:     0, Passed:     2, Skipped:     0, Total:     2, Duration: 24 ms - /tmp/nunit-repro/bin/Debug/net6.0/nunit-repro.dll (net6.0)

我已经四处寻找了一段时间,但找不到相关的配置选项。我错过了什么吗?

拥有由数百个测试组成的集成测试套件并需要几分钟才能通过,没有任何视觉上的进展是非常令人沮丧的,不知道事情是 运行 还是挂起。

有人帮我找到解决办法,加-l "console;verbosity=detailed":

dotnet test -l "console;verbosity=detailed"