Skip to content

NUnit Console and Engine 4.0.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@CharliePoole CharliePoole released this 26 Jun 05:12
3b20039

As part of this release we had 73 issues closed.

This is the first beta for version 4 of the NUnit Console and Engine. As a major version release, V4 incorporates a large number of Breaking Changes as well as new features, enhancements and bug fixes. See BREAKING_CHANGES.md in the root directory for a summary of breaking changes in V4.

Breaking Changes

  • #770 v4 Console/Engine Platform support
  • #860 Eliminate DomainUsage setting
  • #861 Eliminate In-Process Execution
  • #873 Remove UserSettings From Engine
  • #874 Remove RecentFilesService from Engine
  • #878 Stop Bundling the TeamCity Extension
  • #879 Stop Bundling V2 Result Writer
  • #880 Stop Bundling V2 Framework Driver
  • #888 v4: Remove deprecated --params option
  • #889 v4: Create single constructor method/structure for a TestPackage
  • #890 v4: Remame --timeout option (and associated EnginePackageSettings)
  • #891 v4: Remove deprecated --labels options
  • #948 Simplify or remove loading of engine by reflection via TestEngineActivator
  • #1149 Rename the console runner for version 4
  • #1582 Eliminate zip package in version 4

Bugs

  • #17 DomainManagerTests.CanCreateDomainWithApplicationBaseSpecified() fails when not 3 directories deep
  • #441 Test count in start-run report is always 0
  • #491 TestFilterBuilder builds invalid XML
  • #1152 Engine Core tries to load all engine extensions
  • #1166 nunit3-console.exe does not have a manifest
  • #1177 Eliminate need for CLR version in RuntimeFramework class
  • #1586 Loggers don't use latest writer
  • #1644 NUnit Console v4: not all events are received in ITestEventListener#OnTestEvent.
  • #1677 Non-string TestPackage settings values are not deserialized correctly
  • #1685 Intermittent Error running multiple assemblies in parallel
  • #1706 Continued errors running multiple test assemblies in parallel

Build

  • #1117 Update to latest NSubstitute where available
  • #1137 Branch named like "support-XXX" causes release of new package
  • #1139 Add a package test that uses nunit framework 4.0
  • #1539 V4 Codebase Should be Null-Enabled
  • #1540 Update Language Level to C# 12
  • #1541 V4 CI Build no longer works
  • #1542 Build using NUnit.Cake.Recipe
  • #1576 Eliminate reference to nunit.engine by nunit-console runner
  • #1581 Remove unused scripts and targets and document.
  • #1589 Move common settings from individual .csproj files to Directory.Build.props
  • #1657 Build not running automatically when release is published
  • #1703 Simplify build scripts

Enhancements

  • #772 Console indentation is not consistent
  • #877 Give agents individual names
  • #955 Modify arguments to agent process for 4.0
  • !1135 Nunit4 support
  • #1141 Separate engine and agent runners and implement validity checks for creating each type
  • #1154 Incorporate NUnit Project loader extension in msi and zip packages
  • #1168 Refactor RuntimeFramework and related classes
  • #1258 Port fixes for 3.16 release to the 4.0 development code
  • #1547 Port fixes from 3.18 releases
  • #1549 Port changes from 3.19 releases to V4
  • #1596 Combine nunit3 drivers and switch to new interface
  • #1629 Port changes from 3.20 to V4
  • #1686 Introduce a class to represent individual package settings

Features

  • #909 Implement Pluggable agents
  • #934 Remove services from nunit.engine.core assembly
  • #1019 Define Extension Points to be supported in V4.0
  • !1041 Consider later NUnit versions as a valid framework.
  • #1049 Separate assembly for NUnit extensibility
  • #1290 Change console executable name to nunit4-console.exe
  • #1578 Isolate agents from the engine itself
  • #1623 Direct execution of agents
  • #1649 Support Version 3 NUnit Extensions
  • #1660 Eliminate use of Remoting as a Transport between Engine and Agents
  • #1670 Provide nunit.agent.core package
  • #1673 Convert Built-in agents to pluggable agents
  • #1700 Bundle .net 9.0 agent with runner

Choosing a Package

The package nunit-console-runner.nupkg is a Chocolatey package and should be installed using choco.exe. It is also available at chocolatey.org. All other .nupkg packages are intended for use with nuget.exe and may be downloaded from nuget.org as well as here.

SHA256 Hashes of the release artifacts

  • db40afdd83b44fb53dd7420f28b2b778289ea28e8fc28831ee8c3fbdad6c65ce NUnit.ConsoleRunner.4.0.0-beta.1.nupkg
  • 56465cead18e27eee3ea3ac5fef090be150dbc7f54598eb85caa0e678a7d987d NUnit.Console.4.0.0-beta.1.nupkg
  • 12ba6b5abb102b13408fbf9a0516d9233aa738105e39f6bc62efb5fe89bfb2d7 NUnit.ConsoleRunner.NetCore.4.0.0-beta.1.nupkg
  • d2c74836af3243e51795533f3f1e0745aeebdfa59662fc8f5c61480175ced55d NUnit.Agent.Core.4.0.0-beta.1.nupkg
  • 38e77331b2092c6308ad30f1c3c46ad8b445ce71551958906e2bdd61e4b88a8b NUnit.Engine.4.0.0-beta.1.nupkg
  • 85cd357d0004e93d65837e38b5e2e5fa17c0a354234a636b9a8a88af3d2b3cf0 NUnit.Engine.Api.4.0.0-beta.1.nupkg
  • edd02143e930fc2a861d4b0c4fe2ebd6bc28fe5b5e72e8e9799e2d9915fbe164 NUnit.Extensibility.Api.4.0.0-beta.1.nupkg