如何将vstest.console.exe与许多.dll文件一起使用? [英] How can I use vstest.console.exe with many .dll files?
问题描述
在Visual Studio 2017 Ent中,我使用"vstest.console.exe"。用于单元测试。
In Visual Studio 2017 Ent, I use "vstest.console.exe" for Unit Test.
当单元测试有很多目标时,我使用"vstest.console.exe"。如下所示。
When there are many targets for Unit Test, I use "vstest.console.exe" like below.
ex)vstest.console.exe Fleck.Tests.dll xxx1.dll xxx2.dll xxx3.dll ......
ex) vstest.console.exe Fleck.Tests.dll xxx1.dll xxx2.dll xxx3.dll ......
问题1 - 这是使用"vstest.console.exe"的唯一方法吗?有很多.dll文件?
Question1 - Is that the only way to use "vstest.console.exe" with many .dll files?
问题2 - 有没有办法使用"vstest.console.exe"用".sln"文件
Question2 - Is there a way to use "vstest.console.exe" with ".sln" file
推荐答案
朋友
欢迎来到MSDN论坛。
Welcome to MSDN forum.
>> 这是使用"vstest.console.exe"的唯一方法吗?有很多.dll文件?
据我所知,这似乎是由
原稿来运行许多.dll文件。
As far as i know, that seems to be the only way which introduced by document to run many .dll files.
>> 是否有使用方法"vstest.console.exe"用".sln"文件
到目前为止,我担心这是在解决方案中运行所有单元测试的有效方法。
I'm afraid so far that's valid way to run all unit tests in a solution.
希望你我们理解并对此造成的不便表示抱歉。
Do hope you can understand and sorry for this inconvenience.
最诚挚的问候,
Lance
这篇关于如何将vstest.console.exe与许多.dll文件一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!