是否可以将NUnit 3测试添加到Visual Studio 2015负载测试中?

编程入门 行业动态 更新时间:2024-10-27 06:26:40
本文介绍了是否可以将NUnit 3测试添加到Visual Studio 2015负载测试中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个用C#编写的测试自动化框架,并用 NUnit (不是MSTest )编写了单元测试.我创建了一个新的 Visual Studio负载测试配置,并且希望能够将这些NUnit测试添加到负载测试中,但是Visual Studio(2015)并未列出它们.我已经安装了NUnit 3测试适配器.我可以将NUnit测试添加到VS负载测试中还是必须是MSTest单元测试?

I have a testing automation framework written in C# with unit tests written in NUnit (not MSTest). I created a new Visual Studio Load Test configuration and I was expecting to be able to add these NUnit tests to the load test, however Visual Studio (2015) is not listing them. I have the NUnit 3 Test Adapter installed already. Can I add NUnit tests to VS load tests or do they have to be MSTest unit tests?

推荐答案

直到现在没有软件包或解决方法,然后再将NUnit测试转换为MSTest,以将NUnit测试添加到LoadTests.同样的问题也适用于XUnit测试.我希望MS能够将XUnit和NUnit测试添加到LoadTest.

Until now there is no package or workaround, other then converting your NUnit tests to MSTests, to add your NUnit tests to a LoadTests. The same problem also applies for XUnit test. I hope MS will enable the possibility to add XUnit and NUnit tests to a LoadTest.

一个解决方案是您可以将NUnit测试转换为: www.stormbase/2010 /01/12/从nunit转换为mstest/

A solution is that you can convert you NUnit test: www.stormbase/2010/01/12/converting-from-nunit-to-mstest/

更多推荐

是否可以将NUnit 3测试添加到Visual Studio 2015负载测试中?

本文发布于:2023-11-07 15:01:32,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1566762.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:负载   测试   测试中   NUnit   Visual

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!