Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono-addins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/Test
diff options
context:
space:
mode:
authorLluis Sanchez <llsan@microsoft.com>2020-10-05 12:52:08 +0300
committerLluis Sanchez <llsan@microsoft.com>2020-10-05 12:52:42 +0300
commit7782d1aca386999d0216f5244de6b24992563807 (patch)
treea085831288d39fd60d4f32865f92de43a20f3412 /Test
parent20c24451eac0be33f16f1b5c5ece81ecdb1fd44c (diff)
Add target for running tests
Diffstat (limited to 'Test')
-rw-r--r--Test/UnitTests/UnitTests.csproj6
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/UnitTests/UnitTests.csproj b/Test/UnitTests/UnitTests.csproj
index 9c1c8fc..c0329a3 100644
--- a/Test/UnitTests/UnitTests.csproj
+++ b/Test/UnitTests/UnitTests.csproj
@@ -28,6 +28,9 @@
<Reference Include="System.Core" />
<PackageReference Include="NUnit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
+ <PackageReference Include="NUnit.ConsoleRunner" GeneratePathProperty="true">
+ <Version>3.11.1</Version>
+ </PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Mono.Addins\Mono.Addins.csproj">
@@ -107,4 +110,7 @@
<LogicalName>TestManifest2-bis.xml</LogicalName>
</EmbeddedResource>
</ItemGroup>
+ <Target Name="Test">
+ <Exec Command="$(PkgNUnit_ConsoleRunner)\tools\nunit3-console.exe $(ProjectDir)\bin\Debug\UnitTests.dll" />
+ </Target>
</Project>