Skip to content

Commit 2048d35

Browse files
authored
Merge pull request #88 from paulpach/nunit3
Upgrade from nunit2 to nunit3
2 parents ae03d7e + afc943b commit 2048d35

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

MLAPI.Tests/MLAPI.Tests.csproj

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="..\packages\NUnit.3.10.1\build\NUnit.props" Condition="Exists('..\packages\NUnit.3.10.1\build\NUnit.props')" />
34
<PropertyGroup>
45
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
56
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -29,12 +30,9 @@
2930
<LangVersion>7</LangVersion>
3031
</PropertyGroup>
3132
<ItemGroup>
32-
<Reference Include="nunit.framework, Version=2.6.6.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
33-
<HintPath>..\packages\NUnit.2.6.6\lib\nunit.framework.dll</HintPath>
34-
</Reference>
3533
<Reference Include="System" />
3634
<Reference Include="nunit.framework">
37-
<HintPath>..\packages\NUnit.2.6.6\lib\nunit.framework.dll</HintPath>
35+
<HintPath>..\packages\NUnit.3.10.1\lib\net35\nunit.framework.dll</HintPath>
3836
</Reference>
3937
</ItemGroup>
4038
<ItemGroup>

MLAPI.Tests/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="NUnit" version="2.6.6" targetFramework="net35" />
3+
<package id="NUnit" version="3.10.1" targetFramework="net35" />
44
<package id="OpenCover" version="4.6.519" targetFramework="net35" />
55
</packages>

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ artifacts:
1414
image: Visual Studio 2017
1515

1616
test_script:
17-
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -register:user -target:"nunit-console.exe" -targetargs:"MLAPI.Tests\bin\Debug\MLAPI.Tests.dll" -output:"coverage.xml" -filter:"+[MLAPI*]* -[MLAPI.Tests*]*"
17+
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -returntargetcode -register:user -target:"nunit3-console.exe" -targetargs:"MLAPI.Tests\bin\Debug\MLAPI.Tests.dll" -output:"coverage.xml" -filter:"+[MLAPI*]* -[MLAPI.Tests*]* "
1818

1919

2020
after_test:

0 commit comments

Comments
 (0)