6

NUnit に基づく単体テストが同梱されているオープン ソース プロジェクトは、通常、NUnit ランナーとそれに付随するバイナリも同梱されています。NUnit 2.4.8 の場合、そのbinディレクトリを実際のプロジェクトと一緒にそのまま配布すると、46 個のファイルと空のaddinsディレクトリになります。nunit.framework.dllテストのオーサリングに必要なベースと一緒に GUI およびコンソール ランナーを配布することだけが必要な場合 (およびモック インフラストラクチャなしで)、必要な最小限のファイル セットは何でしょうか?

参考までに、NUnit 2.4.8binディレクトリは次のようになります。

  • アドイン/
  • clr.bat
  • 失敗.jpg
  • フィット.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
  • テストユーティリティ.dll
  • タイミング-tests.dll
4

3 に答える 3

5

次の 6 つの NUnit ファイルのみを使用して、テストを正常に実行できます。

  • nunit.core.dll
  • nunit.core.interfaces.dll
  • nunit.framework.dll
  • nunit.util.dll
  • nunit.console-runner.dll
  • nunit-console.exe
于 2009-12-11T07:13:19.390 に答える
2

調査の結果、次のファイルは NUnit 自体と FIT のテスト アセンブリを表しているため、不要ではないようです。

  • アドイン/
  • clr.bat
  • 失敗.jpg
  • フィット.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
  • テストユーティリティ.dll
  • タイミング-tests.dll
于 2008-12-04T21:51:55.833 に答える
1

2.6 では、Mooki のリストに加えて、以下を追加する必要がありました。

  • nunit-agent.exe
于 2012-07-16T17:29:21.323 に答える