Skip to content

Commit 2d1b1bf

Browse files
authored
Prepare 4.3.0 (#1024)
* Prepare 4.3.0-rc.1 * updated acceptance tests * updated outputxmlmode * Update displayname * Prepare 4.3.0
1 parent da0a5c3 commit 2d1b1bf

File tree

17 files changed

+41
-13062
lines changed

17 files changed

+41
-13062
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2011-2020 Charlie Poole, 2014-2020 Terje Sandstrom
3+
Copyright (c) 2011-2020 Charlie Poole, 2014-2022 Terje Sandstrom
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

NUnit3TestAdapter.ndproj

Lines changed: 0 additions & 13033 deletions
This file was deleted.

NUnit3TestAdapter.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1414
build.ps1 = build.ps1
1515
src\Directory.Build.props = src\Directory.Build.props
1616
DisableAppDomain.runsettings = DisableAppDomain.runsettings
17-
LICENSE.txt = LICENSE.txt
17+
LICENSE = LICENSE
1818
src\native-assembly\NativeTests.dll = src\native-assembly\NativeTests.dll
1919
NuGet.Config = NuGet.Config
2020
NUnit3TestAdapter.sln.DotSettings = NUnit3TestAdapter.sln.DotSettings

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
The NUnit 3 Test Adapter runs NUnit 3.x tests in Visual Studio 2012 and newer.
44

5-
This adapter works with NUnit 3.0 and higher only. Use the NUnit 2 Adapter to run NUnit 2.x tests.
5+
66

77
You can download the latest release version ![](https://img.shields.io/github/release-date/nunit/nunit3-vs-adapter.svg?style=flat)
88

99
[![NuGet Version](https://img.shields.io/nuget/v/NUnit3TestAdapter.svg)](https://www.nuget.org/packages/NUnit3TestAdapter) ![](https://img.shields.io/nuget/dt/NUnit3TestAdapter.svg?style=flat)
1010

11-
or the latest pre-release version
11+
or the latest developer build version
1212

1313
[![MyGet version](https://img.shields.io/myget/nunit/vpre/NUnit3TestAdapter.svg?label=Myget%3A%20Latest%20pre-release&style=flat)](https://www.myget.org/feed/nunit/package/nuget/NUnit3TestAdapter)
1414

@@ -43,7 +43,7 @@ The NUnit 3 Test Adapter is Open Source software released under the [![](https:/
4343

4444
## Developing
4545

46-
Visual Studio 2019 is the minimum required version to build the adapter.
46+
Visual Studio 2022 is the recommended version to build and test the adapter.
4747

4848
Use `.\build -t test` at the command line to build and run complete tests.
4949

@@ -64,6 +64,12 @@ The NuGet package and the VSIX contain source-linked PDBs for the adapter.
6464
If you’re in the middle of a debugging session and realize you’d like to be able to step into NUnit adapter code,
6565
set breakpoints and watch variables, [follow these steps](https://github.com/nunit/docs/wiki/Adapter-Source-Stepping).
6666

67-
## Announcement
67+
## Notes
68+
69+
* This adapter works with NUnit 3.0 and higher only. Use the NUnit 2 Adapter to run NUnit 2.x tests.
70+
71+
72+
## Announcements
6873
* From version 3.9 the NUnit3TestAdapter will stop supporting Visual Studio 2012 RTM (!), note only RTM, the later updates will still be supported fully. If you're using VS 2012 and want to update NUnit3TestAdapter, please update your Visual Studio RTM to any of the subsequent updates (Update 1-5)
6974
* From version 3.16 the NUnit3TestAdapter will stop supporting .net core 1
75+
* From version 4.0 the NUnit3TestAdapter will only be released as a nuget package, the VSIX is deprecated.

build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var configuration = Argument("configuration", "Release");
1313
//////////////////////////////////////////////////////////////////////
1414

1515
var version = "4.3.0";
16-
var modifier = "-alpha-108";
16+
var modifier = "";
1717

1818

1919
var dbgSuffix = configuration.ToLower() == "debug" ? "-dbg" : "";

global.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

nuget/NUnit3TestAdapter.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
For VS 2017 and forward, you should add this package to every test project in your solution. (Earlier versions only require a single adapter package per solution.)
1919
</description>
2020
<releaseNotes>See https://docs.nunit.org/articles/vs-test-adapter/Adapter-Release-Notes.html </releaseNotes>
21-
<copyright>Copyright (c) 2011-2021 Charlie Poole, 2014-2021 Terje Sandstrom</copyright>
21+
<copyright>Copyright (c) 2011-2021 Charlie Poole, 2014-2022 Terje Sandstrom</copyright>
2222
<language>en-US</language>
2323
<tags>test visualstudio testadapter nunit nunit3 dotnet</tags>
2424

src/NUnit.TestAdapter.Tests.Acceptance/AcceptanceTests.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public class Frameworks
1616
public const string NetCoreApp21 = "netcoreapp2.1";
1717
public const string Net50 = "net5.0";
1818
public const string Net60 = "net6.0";
19+
public const string Net70 = "net7.0";
1920
}
2021

2122
[Category("Acceptance")]
@@ -39,7 +40,8 @@ public abstract class AcceptanceTests
3940
Frameworks.NetCoreApp21,
4041
Frameworks.NetCoreApp31,
4142
Frameworks.Net50,
42-
Frameworks.Net60
43+
Frameworks.Net60,
44+
Frameworks.Net70
4345
};
4446

4547
private static readonly Lazy<(IsolatedWorkspaceManager Manager, string NupkgVersion, bool KeepWorkspaces)> Initialization = new(() =>
@@ -71,7 +73,7 @@ public abstract class AcceptanceTests
7173
downloadCachePath: Path.Combine(directory, ".toolcache"));
7274

7375
if (keepWorkspaces) manager.PreserveDirectory("The KeepWorkspaces test parameter was set to true.");
74-
76+
TestContext.WriteLine($"Directory: {directory}, NugetPackageDirectory {nupkgDirectory},NugetPackageVersion: {nupkgVersion}");
7577
return (manager, nupkgVersion, keepWorkspaces);
7678
});
7779

src/NUnit.TestAdapter.Tests.Acceptance/NUnit.TestAdapter.Tests.Acceptance.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111

1212
<ItemGroup>
1313
<PackageReference Include="nunit" Version="3.13.3" />
14-
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
15-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
14+
<PackageReference Include="NUnit3TestAdapter" Version="4.3.0-rc.1" />
15+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
1616
<PackageReference Include="NUnit.Analyzers" Version="3.5.0" />
1717
</ItemGroup>
1818

1919
<ItemGroup>
20-
<PackageReference Update="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2">
20+
<PackageReference Update="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3">
2121
<PrivateAssets>all</PrivateAssets>
2222
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2323
</PackageReference>

src/NUnit3AdapterExternalTests/NUnit3AdapterExternalTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</ItemGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Update="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2">
14+
<PackageReference Update="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3">
1515
<PrivateAssets>all</PrivateAssets>
1616
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1717
</PackageReference>

0 commit comments

Comments
 (0)