gpt4 book ai didi

unit-testing - OSS 项目的最小 NUnit 二进制文件

转载 作者:行者123 更新时间:2023-12-04 14:37:27 26 4
gpt4 key购买 nike

附带基于 NUnit 的单元测试的开源项目通常也附带 NUnit 运行程序和随附的二进制文件。对于 NUnit 2.4.8,分发它的 bin与实际项目逐字逐句的目录共计 46 个文件和一个空白 addins目录。如果只想要分发 GUI 和控制台运行程序以及基础 nunit.framework.dll 所需的最少文件集是多少?需要编写测试(并且没有模拟基础设施)?

作为引用,NUnit 2.4.8 bin目录如下所示:

  • 插件/
  • clr.bat
  • 失败.jpg
  • fit.dll
  • 忽略.jpg
  • loadtest-assembly.dll
  • 模拟程序集.dll
  • nonamespace-assembly.dll
  • notefixtures-assembly.dll
  • nunit.core.dll
  • nunit.core.extensions.dll
  • nunit.core.interfaces.dll
  • nunit.core.tests.dll
  • nunit.exe
  • nunit.exe.config
  • nunit.extensions.tests.dll
  • nunit.fixtures.dll
  • nunit.fixtures.tests.dll
  • nunit.framework.dll
  • nunit.framework.extensions.dll
  • nunit.framework.tests.dll
  • nunit.framework.xml
  • nunit.mocks.dll
  • nunit.mocks.tests.dll
  • nunit.uikit.dll
  • nunit.uikit.tests.dll
  • nunit.util.dll
  • nunit.util.tests.dll
  • nunit-console.exe
  • nunit-console.exe.config
  • nunit-console.tests.dll
  • nunit-console-runner.dll
  • nunit-console-x86.exe
  • nunit-console-x86.exe.config
  • NUnitFitTests.html
  • nunit-gui.tests.dll
  • nunit-gui-runner.dll
  • NUnitTests.config
  • NUnitTests.nunit
  • nunit-x86.exe
  • nunit-x86.exe.config
  • runFile.exe
  • runFile.exe.config
  • 成功.jpg
  • 测试程序集.dll
  • test-utilities.dll
  • 计时测试.dll
  • 最佳答案

    我可以在仅存在以下 6 个 NUnit 文件的情况下成功运行测试:

  • nunit.core.dll
  • nunit.core.interfaces.dll
  • nunit.framework.dll
  • nunit.util.dll
  • nunit.console-runner.dll
  • nunit-console.exe
  • 关于unit-testing - OSS 项目的最小 NUnit 二进制文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/342128/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com