2008-12-04 25 views
6

基于NUnit的基于单元测试的开源项目通常还会运送NUnit跑步者和伴随的二进制文件。对于NUnit 2.4.8,将它的bin目录逐字分配给实际项目总计为46个文件和一个空白addins目录。如果所有人想要的是分发GUI和控制台运行程序以及创作测试所需的基本nunit.framework.dll(并且没有模拟基础结构),那么最少需要的文件集是多少?OSS项目的最小NUnit二进制文件

仅供参考,NUnit的2.4.8 bin目录如下:

  • 加载项/
  • clr.bat
  • failure.jpg
  • fit.dll
  • ignored.jpg
  • loadtest-assembly.dll
  • mock-assembly.dll
  • noNamespace这个-assembly.dll
  • notestfixtures-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控制台-x86.exe程序
  • NUnit控制台-x86.exe.config
  • NUnitFitTests.html
  • nunit-gui.tests.dll
  • nunit-gui-runner.dll
  • NUnitTests。配置
  • NUnitTests.nunit
  • NUnit的-x86.exe程序
  • NUnit的-x86.exe.config
  • runFile.exe
  • runFile.exe.config
  • success.jpg
  • 测试 - assembly.dll
  • test-utilities.dll
  • timing-tests.dll

回答

5

我可以成功运行只测试了以下6个NUnit的文件提出:

  • nunit.core.dll程序
  • nunit.core.interfaces.dll
  • nunit.framework.dll中
  • nunit.util.dll
  • nunit.console-runner.dll
  • NUnit的,console.exe
+0

而对于GUI亚军,我想一个只需要添加NUnit的-gui-runner.dll,nunit.exe和nunit.exe.config到你的列表中? – 2009-12-11 07:19:32

2

经过一番研究,以下文件不会出现是不必要的,因为它们代表测试组件的NUnit的本身和FIT:

  • 加载项/
  • clr.bat
  • failure.jpg
  • fit.dll
  • ignored.jpg
  • 负载测试-assembly.dll
  • 模拟assembly.dll
  • noNamespace这个-assembly.dll
  • notestfixtures-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控制台-runner.dll
  • NUnit控制台-x86.exe程序
  • NUnit控制台-x86.exe.config
  • NUnitFitTests.html
  • NUnit的图形用户界面。 tests.dll
  • NUnit的 - 桂 - runner.dll
  • NUnitTests.config
  • NUnitTests.nunit
  • NUnit的-x86.exe程序
  • NUnit的-x86.exe.config
  • runFile.exe
  • runFile.exe.config
  • success.jpg
  • test-assembly.dll
  • test-utilities.dll
  • timing-tests.dll
1

为2.6,除了Mooki的名单,我不得不添加:

  • NUnit的-agent.exe
相关问题