是否可以将NUnit 3测试添加到Visual Studio 2015负载测试中? [英] Can I add NUnit 3 tests to Visual Studio 2015 load tests?

查看:83
本文介绍了是否可以将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测试转换为: http://www.stormbase.net/2010 /01/12/从nunit转换为mstest/

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

这篇关于是否可以将NUnit 3测试添加到Visual Studio 2015负载测试中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆