我想多次调试Humanizer项目中的特定测试TimeSpanWithMinTimeUnit
。
当我在测试资源管理器中右键单击测试并选择运行或调试所选测试时,在测试实际运行之前需要几分钟才能发现所有测试。有没有办法加快速度?
[xUnit.net 00:03:50.7515043] Humanizer.Tests: Discovered test case 'ReturnsLargestMetricPrefixLargerThanZero' (ID = '8c3a2f7fda13b5b040f466c958bfd191e9519d12', VS FQN = 'Humanizer.Tests.Bytes.ToStringTests.ReturnsLargestMetricPrefixLargerThanZero')
[xUnit.net 00:03:50.7648850] Humanizer.Tests: Discovered test case 'ReturnsLargestMetricPrefixLargerThanZeroForNegativeValues' (ID = '8df99e81db618caf9b7da929fae69b130b4d5446', VS FQN = 'Humanizer.Tests.Bytes.ToStringTests.ReturnsLargestMetricPrefixLargerThanZeroForNegativeValues')
[xUnit.net 00:03:50.7761650] Humanizer.Tests: Discovered test case 'approve_public_api' (ID = '837d518deba1bc8dd3fede2920421248ccf0831b', VS FQN = 'Humanizer.Tests.ApiApprover.PublicApiApprovalTest.approve_public_api')
[xUnit.net 00:03:50.7769602] Discovered: Humanizer.Tests (running 7331 test cases)
========== Discover test finished: 14657 found (0:03:51,133111) ==========
------ Run test started ------
[xUnit.net 00:00:01.6632041] Starting: Humanizer.Tests (parallel test collections = on, max threads = 4)
[xUnit.net 00:00:02.4071970] Finished: Humanizer.Tests
========== Run test finished: 1 run (0:00:06,7376737) ==========