【问题标题】:WinUnit testing a native dll on a machine without visual studioWinUnit 在没有 Visual Studio 的机器上测试本机 dll
【发布时间】:2013-06-06 13:36:52
【问题描述】:

我想知道如何在没有 Visual Studio IDE 的机器上使用 WinUnit 测试 dll? 我做了一些搜索,但看起来 WinUnit 测试需要在测试机器上安装 IDE。 那么,我应该使用WinUnit.exe -someargument MyTest.dll这样的命令行吗?

非常感谢。

【问题讨论】:

    标签: c++ unit-testing testing dll


    【解决方案1】:

    我正在使用调用 B.dll 的 winunit 测试 A.dll;我想测试所有功能所以这里是命令行的样子

    WinUnit -p FunctionsInAdllYouWantToTest --YourEnvioronmentVariable "YourPathOfBdll\B.dll" "YourPathOfAdll\A.dll"
    

    类似上面的。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-01-28
      • 1970-01-01
      • 2012-07-20
      • 2017-07-27
      • 2012-12-18
      • 2014-11-06
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多