Skip to content

Commit

Permalink
Changes for 3.12.0-beta1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisMaddock committed Aug 1, 2020
1 parent a7ec1ea commit 1cffc47
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 7 deletions.
44 changes: 44 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,47 @@
## NUnit Console & Engine 3.12 Beta 1 - August 1, 2020

This is the first beta release of the NUnit Console able to run .NET Core Tests.
In addition to this, this release also contains a number of bug fixes, improvements
when running on Mono and significant refactoring work towards the goal of creating an
engine able to run tests on a wider range of .NET platforms.

We're particularly interested in this beta release being tested by users of the .NET Core
console and users running tests on Mono. Please feedback any issues to the nunit-console repository.

The .NET Core Console is a separate executable to the original version, and can be found in either
the .zip file download, or the new NUnit.Console-Runner.NetCore NuGet package. Our longer-term aim
is to create a single console which is able to run both .NET Core and .NET Framework tests.

Code contributions in this release were included from Charlie Poole, Chris Maddock, Christian Bay,
Eberhard Beilharz, Joseph Musser, Manohar Singh and Mikkel Nylander Bundgaard. Thank you to all
those who contributed both in code, and other ways!

* 391 Provide useful error message when agent crashes with a stack overflow exception
* 475 Create .NET Core Console Runner
* 662 Mono: Stacktrace missing files and line numbers
* 710 .NET Core engine only works when located in same directory as test assembly
* 733 iconUrl is deprecated in NuGet packages
* 740 Create separate agents for .NET 2.0-3.5 and .NET 4.x
* 747 [CI] Change macOS image version
* 748 Make Project config information available to runners
* 750 .NET Core Console Packaging
* 751 Minor updates to Contributing.MD
* 757 Unable to test net 3.5 assembly if there's incompatible extension installed
* 758 Carry CurrentDirectory over to agent Processes
* 761 Revert accidental debug message change
* 762 Simplify agent communication in preparation for new wire protocol
* 765 Split RuntimeFramework package setting into two: Requested and Target
* 768 Test run exits with an exit code of 0 if a multiple of 256 tests fail
* 775 Extension loading broken on Linux when installed from NuGet package
* 777 Remove unused code to locate engine from registry keys
* 778 Add .NET Core 3.1 build of engine to access APIs for loading .NET Core assemblies correctly
* 779 [CI] Revert to running .NET Standard Engine Tests via NUnitLite
* 783 Refactor XMLTransformResultWriterTests to avoid initialising entire engine
* 784 Fix DirectTestRunner to not give all drivers the same ID.
* 790 Fix agent debug logging
* 800 TypeLoadException thrown when changes are made to the API assembly, with multiple versions of the engine available
* 801 Begin incrementing EngineApiVersion with every release, as per Engine version

NUnit Console & Engine 3.11.1 - February 15, 2020
This hotfix fixes a problem with NUnit Project file settings being ignored.

Expand Down
4 changes: 2 additions & 2 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var productVersion = Argument("productVersion", "3.12.0");
var productVersion = Argument("productVersion", "3.12.0-beta1");

var ErrorDetail = new List<string>();
bool IsDotNetCoreInstalled = false;
Expand Down Expand Up @@ -592,7 +592,7 @@ Task("PackageZip")
CopyFile(CURRENT_IMG_DIR + "nunit.bundle.addins", netfxZipImg + "nunit.bundle.addins");
}
var zipPath = string.Format("{0}NUnit.Console-{1}.zip", PACKAGE_DIR, version);
var zipPath = string.Format("{0}NUnit.Console-{1}.zip", PACKAGE_DIR, productVersion);
Zip(ZIP_IMG, zipPath);
});

Expand Down
6 changes: 3 additions & 3 deletions package-checks.cake
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ private bool CheckChocolateyPackage(string packageId, params ICheck[] checks)
return CheckPackage($"{PACKAGE_DIR}{packageId}.{productVersion}.nupkg", checks);
}

// NOTE: Zip and msi packages currently use "version" rather than "productVersion"

private bool CheckZipPackage(string packageName, params ICheck[] checks)
{
return CheckPackage($"{PACKAGE_DIR}{packageName}-{version}.zip", checks);
return CheckPackage($"{PACKAGE_DIR}{packageName}-{productVersion}.zip", checks);
}

// NOTE: Msi package currently uses "version" rather than "productVersion"

private bool CheckMsiPackage(string packageName, params ICheck[] checks)
{
return CheckPackage($"{PACKAGE_DIR}{packageName}-{version}.msi", checks);
Expand Down
2 changes: 1 addition & 1 deletion src/NUnitConsole/ConsoleVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@

[assembly: AssemblyProduct("NUnit Console Runner")]
[assembly: AssemblyVersion("3.12.0")]
[assembly: AssemblyInformationalVersion("3.12.0")]
[assembly: AssemblyInformationalVersion("3.12.0-beta1")]
2 changes: 1 addition & 1 deletion src/NUnitEngine/EngineVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@

[assembly: AssemblyProduct("NUnit Engine")]
[assembly: AssemblyVersion("3.12.0")]
[assembly: AssemblyInformationalVersion("3.12.0")]
[assembly: AssemblyInformationalVersion("3.12.0-beta1")]

0 comments on commit 1cffc47

Please sign in to comment.