<bdo id='wUO94'></bdo><ul id='wUO94'></ul>

    <i id='wUO94'><tr id='wUO94'><dt id='wUO94'><q id='wUO94'><span id='wUO94'><b id='wUO94'><form id='wUO94'><ins id='wUO94'></ins><ul id='wUO94'></ul><sub id='wUO94'></sub></form><legend id='wUO94'></legend><bdo id='wUO94'><pre id='wUO94'><center id='wUO94'></center></pre></bdo></b><th id='wUO94'></th></span></q></dt></tr></i><div id='wUO94'><tfoot id='wUO94'></tfoot><dl id='wUO94'><fieldset id='wUO94'></fieldset></dl></div>
    <legend id='wUO94'><style id='wUO94'><dir id='wUO94'><q id='wUO94'></q></dir></style></legend>

      <tfoot id='wUO94'></tfoot>
    1. <small id='wUO94'></small><noframes id='wUO94'>

      使用 Gallio 从 VS2012 运行 vstest

      Using Gallio to run vstest from VS2012(使用 Gallio 从 VS2012 运行 vstest)
    2. <i id='DMcNh'><tr id='DMcNh'><dt id='DMcNh'><q id='DMcNh'><span id='DMcNh'><b id='DMcNh'><form id='DMcNh'><ins id='DMcNh'></ins><ul id='DMcNh'></ul><sub id='DMcNh'></sub></form><legend id='DMcNh'></legend><bdo id='DMcNh'><pre id='DMcNh'><center id='DMcNh'></center></pre></bdo></b><th id='DMcNh'></th></span></q></dt></tr></i><div id='DMcNh'><tfoot id='DMcNh'></tfoot><dl id='DMcNh'><fieldset id='DMcNh'></fieldset></dl></div>

        • <bdo id='DMcNh'></bdo><ul id='DMcNh'></ul>
        • <tfoot id='DMcNh'></tfoot>

            <tbody id='DMcNh'></tbody>
              <legend id='DMcNh'><style id='DMcNh'><dir id='DMcNh'><q id='DMcNh'></q></dir></style></legend>

              <small id='DMcNh'></small><noframes id='DMcNh'>

                本文介绍了使用 Gallio 从 VS2012 运行 vstest的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我很惊讶我无法在网上找到这些信息.我们使用 Sonar 运行 Gallio 来收集测试覆盖率信息.Gallio 运行时会报以下错误.

                I am surprised that I have not been able to find this information online. We use Sonar to run Gallio to collect test coverage information. When Gallio runs it reports the following error.

                Cannot run tests because the MSTest executable was not found
                

                现在我们使用 Visual Studio 2012.测试运行程序不再是 mstest,而是 vstest.console.exe.Gallio 可以使用 Visual Studio 2012 测试运行程序吗?如果可以,我该如何设置?

                Now we use Visual Studio 2012. The test runner is no longer mstest, but is instead vstest.console.exe. Can Gallio use the Visual Studio 2012 test runner, and if so, then how do I set that up?

                推荐答案

                Gallio 只使用 MSTest.exe 来运行测试,所以你至少需要安装 VS2010 测试代理来执行测试:https://code.google.com/p/mb-unit/issues/detail?id=899

                Gallio only uses MSTest.exe to run tests so you need to at least have the VS2010 test agents installed execute tests: https://code.google.com/p/mb-unit/issues/detail?id=899

                Gallio 目前无法使用 Visual Studio 测试运行程序,这意味着您不能在 MSTest.exe 所做的单元测试中使用 Fakes 之类的东西不知道如何仪表.尽管许多 VS2012/2013 测试可以使用 MSTest.exe 成功运行,但除非使用 vstest.console.exe 运行,否则新功能将失败,这需要在 Gallio 中作为扩展实现才能正常工作:https://code.google.com/p/mb-unit/issues/detail?id=923

                Gallio does not have the ability to use the Visual Studio test runner at this time which means you cannot use things like Fakes in your unit tests which MSTest.exe does not know how to instrument. Although many VS2012/2013 tests will run successfully with MSTest.exe, new features will fail unless run with vstest.console.exe which needs to be implemented as an extension in Gallio to work correctly: https://code.google.com/p/mb-unit/issues/detail?id=923

                如果您只需要 Gallio 运行用 VS2012 编写的单元测试,请安装测试代理以使 MSTest.exe 可供 Gallio 运行测试.如果您希望 Gallio 使用 vstest.console.exe 并使用 MSTest.exe 无法运行的新测试功能,则需要等待此扩展添加到 Gallio(或自己贡献).

                If you just need Gallio to run your unit tests written in VS2012, install the test agents to make MSTest.exe available to Gallio to run the tests. If you want Gallio to use vstest.console.exe and make use of new test features that MSTest.exe are not capable of running, you will need to wait for this extension to be added to Gallio (or contribute it yourself).

                这篇关于使用 Gallio 从 VS2012 运行 vstest的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Adding and removing users from Active Directory groups in .NET(在 .NET 中的 Active Directory 组中添加和删除用户)
                set equality in linq(在 linq 中设置相等)
                HashSet conversion to List(HashSet 转换为 List)
                How to set timeout for webBrowser navigate event(如何为 webBrowser 导航事件设置超时)
                Test whether two IEnumerablelt;Tgt; have the same values with the same frequencies(测试两个IEnumerablelt;Tgt;具有相同频率的相同值)
                How do you determine if two HashSets are equal (by value, not by reference)?(您如何确定两个 HashSet 是否相等(按值,而不是按引用)?)
                <tfoot id='dekhn'></tfoot>

                  <bdo id='dekhn'></bdo><ul id='dekhn'></ul>

                          <tbody id='dekhn'></tbody>
                      1. <legend id='dekhn'><style id='dekhn'><dir id='dekhn'><q id='dekhn'></q></dir></style></legend>

                          <small id='dekhn'></small><noframes id='dekhn'>

                          <i id='dekhn'><tr id='dekhn'><dt id='dekhn'><q id='dekhn'><span id='dekhn'><b id='dekhn'><form id='dekhn'><ins id='dekhn'></ins><ul id='dekhn'></ul><sub id='dekhn'></sub></form><legend id='dekhn'></legend><bdo id='dekhn'><pre id='dekhn'><center id='dekhn'></center></pre></bdo></b><th id='dekhn'></th></span></q></dt></tr></i><div id='dekhn'><tfoot id='dekhn'></tfoot><dl id='dekhn'><fieldset id='dekhn'></fieldset></dl></div>