Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/290.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 加速测试用例发现_C#_Visual Studio 2015_Xunit - Fatal编程技术网

C# 加速测试用例发现

C# 加速测试用例发现,c#,visual-studio-2015,xunit,C#,Visual Studio 2015,Xunit,我想在项目中使用mintimeunit多次调试特定的测试timespan 当我在测试资源管理器中右键单击一个测试并选择运行或调试所选测试时,在测试实际运行之前发现所有测试需要几分钟的时间。有没有办法加快速度 [xUnit.net 00:03:50.7515043] Humanizer.Tests: Discovered test case 'ReturnsLargestMetricPrefixLargerThanZero' (ID = '8c3a2f7fda13b5b040f466c958bfd

我想在项目中使用mintimeunit多次调试特定的测试
timespan

当我在测试资源管理器中右键单击一个测试并选择运行或调试所选测试时,在测试实际运行之前发现所有测试需要几分钟的时间。有没有办法加快速度

[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) ==========