TestCaseAttributeを利用した一連の単体テストを作成しました。これらのテストは、ReSharper 単体テスト ランナーを使用すると、ローカル マシンでうまく動作します。残念ながら、NUnit VS Adapter 2.0.0.0 を使用して Visual Studio でテストを実行すると、次の出力が得られます。
------ Run test started ------
NUnit VS Adapter 2.0.0.0 executing tests is started
Loading tests from D:\Projects\Ever\WebApp\Ever.UnitTests\bin\Debug\Ever.UnitTests.dll
Exception System.Reflection.AmbiguousMatchException,
Exception thrown executing tests in
D:\Projects\Ever\WebApp\Ever.UnitTests\bin\Debug\Ever.UnitTests.dll
NUnit VS Adapter 2.0.0.0 executing tests is finished
========== Run test finished: 0 run (0:00:00.8290488) ==========
ビルドには Visual Studio Online のホストされたビルド サーバーを使用します。これは、テスト アダプターに依存して NUnit ユニット テストを実行します。これは、属性を使用してこれを機能させる方法を見つける必要があることを意味します (はるかに望ましい)、またはこの制限を回避する必要があります。
MSTest はパラメーター化されたテスト1、2をサポートしていないため、TestCaseAttribute の使用を放棄する必要がありますか?