Skip to content

Commit

Permalink
make all tests runnable via dotnet test
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev authored and jasonleenaylor committed Nov 27, 2024
1 parent 4a3a49b commit 62e4d82
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 5 deletions.
5 changes: 4 additions & 1 deletion src/FLEx-ChorusPluginTests/FLEx-ChorusPluginTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@
<AssemblyName>FLEx-ChorusPluginTests</AssemblyName>
<Description>Unit tests for FLEx-ChorusPlugin</Description>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<AppConfig>..\AppForTests.config</AppConfig>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="GitVersion.MsBuild" Version="5.10.3" PrivateAssets="all" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.1"/>
<PackageReference Include="NUnit" Version="3.13.3"/>
<PackageReference Include="NUnit3TestAdapter" Version="4.3.2"/>
<PackageReference Include="SIL.Chorus.ChorusMerge" Version="$(ChorusVersion)" />
<PackageReference Include="SIL.Chorus.LibChorus.TestUtilities" Version="$(ChorusVersion)" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@
<AssemblyName>LibFLExBridge-ChorusPluginTests</AssemblyName>
<Description>Unit tests for LibFLExBridge-ChorusPlugin</Description>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<AppConfig>..\AppForTests.config</AppConfig>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="GitVersion.MsBuild" Version="5.10.3" PrivateAssets="all" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.1"/>
<PackageReference Include="NUnit" Version="3.13.3"/>
<PackageReference Include="NUnit3TestAdapter" Version="4.3.2"/>
<PackageReference Include="SIL.Chorus.LibChorus.TestUtilities" Version="$(ChorusVersion)" />
<PackageReference Include="SIL.Chorus.Mercurial" Version="6.*" IncludeAssets="build" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@
<AssemblyName>TriboroughBridge-ChorusPluginTests</AssemblyName>
<Description>Unit tests for LibTriboroughBridge-ChorusPlugin</Description>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="GitVersion.MsBuild" Version="5.10.3" PrivateAssets="all" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.1"/>
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.3.2"/>
<PackageReference Include="SIL.LCModel.Utils.Tests" Version="$(LCModelVersion)" />
<PackageReference Include="SIL.LCModel.Utils" Version="$(LCModelVersion)" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@
<AssemblyName>LiftBridge-ChorusPluginTests</AssemblyName>
<Description>Unit tests for LiftBridge-ChorusPlugin</Description>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="GitVersion.MsBuild" Version="5.10.3" PrivateAssets="all" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.1"/>
<PackageReference Include="NUnit" Version="3.13.3"/>
<PackageReference Include="NUnit3TestAdapter" Version="4.3.2"/>
<PackageReference Include="SIL.Chorus.LibChorus.TestUtilities" Version="$(ChorusVersion)" />
</ItemGroup>

Expand Down
5 changes: 4 additions & 1 deletion src/RepositoryUtilityTests/RepositoryUtilityTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@
<PropertyGroup>
<Description>Unit tests for the FLEx Bridge Repository Utility</Description>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.1"/>
<PackageReference Include="NUnit" Version="3.13.3"/>
<PackageReference Include="NUnit3TestAdapter" Version="4.3.2"/>
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@
<AssemblyName>TriboroughBridge-ChorusPluginTests</AssemblyName>
<Description>Unit tests for TriboroughBridge-ChorusPlugin</Description>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="GitVersion.MsBuild" Version="5.10.3" PrivateAssets="all" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.1"/>
<PackageReference Include="NUnit" Version="3.13.3"/>
<PackageReference Include="NUnit3TestAdapter" Version="4.3.2"/>
<PackageReference Include="SIL.Chorus.LibChorus.TestUtilities" Version="$(ChorusVersion)" />
</ItemGroup>

Expand Down

0 comments on commit 62e4d82

Please sign in to comment.