[英]Is it possible to build an MsTest project into a self-contained executable? How?
I can do so using MbUnit framework, but I cannot force everyone to install it (please do not ask); 我可以使用MbUnit框架来做到这一点,但是我不能强迫所有人都安装它(请不要问)。 everybody already has mstest.exe as well as the library. 每个人都已经有了mstest.exe和库。
http://www.gallio.org/oldwiki/MbUnit/TestExecutionUsingSelfExecutableTestAssemblies.html http://www.gallio.org/oldwiki/MbUnit/TestExecutionUsingSelfExecutableTestAssemblies.html
We do not even run unit tests yet, so the easiest way to cram it in is to reuse an existing project. 我们甚至还没有运行单元测试,因此最简单的方法是重用现有项目。 If it gets harder than that, then we will likely not have a test coverage for a while. 如果变得比这困难,那么我们很可能将暂时没有测试内容。
Looking forward to gaining some faith in MS Test. 期待对MS Test有所信心。
There is no way to run MSTest without Visual Studio. 没有Visual Studio,就无法运行MSTest。 It is designed to run using the IDE or using a Build server that had Visual Studio installed. 它旨在使用IDE或安装了Visual Studio的构建服务器运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.