简体   繁体   English

VS Test Runner在Visual Studio Online上运行缓慢

[英]VS Test Runner is slow on Visual Studio Online

I am using Visual Studio Online for building and testing my application. 我正在使用Visual Studio Online 构建测试我的应用程序。

Executing my tests is really slow with Visual Studio Online.... In the diagnostics log of my Build I can see that VS Test Runner take 22 minutes in the cloud when it takes less than 1 minutes on my computer (I have +/- 500 NUnit tests). 使用Visual Studio Online执行测试真的很慢。...在我的Build的诊断日志中,我可以看到VS Test Runner 在云中花费22分钟,而 在我的计算机上花费不到1分钟 (我的+/- 500个NUnit测试)。

Anyone has experienced the same issue? 有人遇到过同样的问题吗?

Update : 99% of testing time is taken by 3 tests. 更新:3次测试占用了99%的测试时间。 Two of them have an exception. 其中有两个例外。 One of them pass. 其中之一通过。

The reason why VS TestRunner was taking so much time for processing our unit tests was : VS TestRunner花费大量时间来处理我们的单元测试的原因是:

 The [Ignore] attribute of NUnit was not taken into account by VS TestRunner in VSO. So we had some dirty Unit Tests that were executed against our will. 

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何告诉Visual Studio Online VS Test Task忽略某些nUnit测试类别 - How to tell Visual Studio Online VS Test Task to ignore certain nUnit test categories Visual Studio 2013测试运行程序(VSTest)大大降低了测试执行速度 - Visual Studio 2013 Test Runner (VSTest) slows tests execution dramatically Visual Studio 2015测试运行器中的“句柄无效”异常 - “The handle is invalid” exception in Visual Studio 2015 test runner Visual Studio Ms测试运行器无法找到程序集 - Visual Studio Ms test runner fails to find assemblies JSON反序列化“在线站点”与“粘贴到Visual Studio”的区别 - Difference JSON deserialisation 'online site' vs 'paste into Visual studio' 在Visual Studio Test Runner中从外部测试套件程序集运行NUnit测试 - Running NUnit tests from external test suite assembly in Visual Studio Test Runner 使用 Visual Studio 测试运行器运行的 xUnit 测试的输出未显示在“输出”窗口中 - Output from xUnit tests run with Visual Studio test runner not shown in Output window 是从Visual Studio还是从命令行运行程序调用了测试(NUnit3)? - Was a test (NUnit3) invoked from Visual Studio or from a command line runner? Visual Studio 2017(企业)上的 NUnit:Test Runner 仅作为扩展工作,而不是解决方案 NuGet 包? - NUnit on Visual Studio 2017 (Enterprise): Test Runner only works as Extension, not Solution NuGet package? Visual Studio 调试很慢 - Visual Studio Debugging Is Slow
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM