Skip to content

Commit bf14bae

Browse files
committed
[dotnet] Upgrading NUnit console to 3.12.0
1 parent 2afb56c commit bf14bae

532 files changed

Lines changed: 14512 additions & 3496 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

third_party/dotnet/nunit.console-3.10.0/CHANGES.txt renamed to third_party/dotnet/nunit-console-3.12.0/CHANGES.txt

Lines changed: 138 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,139 @@
1-
NUnit Console 3.10 - March 24, 2019
1+
## NUnit Console & Engine 3.12 - January 17, 2021
2+
## .NET Core NUnit Console 3.12 Beta 2 - January 17, 2021
3+
4+
This release contains various improvements to running tests on .NET Core and Mono, and changes to
5+
extension loading logic to allow the Engine to better support extensions which target multiple platforms. There are additionally
6+
a number of fixes to issues that were identified with 3.12 Beta 1. Please also be aware that this will be the last version of
7+
the NUnit Engine to support .NET Standard 1.6.
8+
9+
The .NET Core Console remains in Beta due to some unresolved dependency loading and framework targeting issues - contributions to
10+
fix these issues would be very welcome!
11+
12+
Code contributions in this release were included from Charlie Poole, Chris Maddock, Christian Bay,
13+
Eberhard Beilharz, Ed Ball, Joseph Musser, Manohar Singh Mattias Cavigelli and Mikkel Nylander Bundgaard. Thank you to all
14+
those who contributed both in code, and otherwise.
15+
16+
Please note the below list includes only issues resolved between 3.12.0 Beta 1 and the final release. For those upgrading from 3.11.1
17+
or earlier, please also see the Beta release notes.
18+
19+
* 511 [Build] Improve detection of installed .NET Core Runtimes
20+
* 718 Eliminate use of Mono.Cecil
21+
* 810 Build NUnit.ConsoleRunner.NetCore as a .NET Core Tool.
22+
* 811 Use readonly modifier where possible
23+
* 818 Remove redundant dependency on Microsoft.DotNet.InternalAbstractions for platforms other than .NET Standard 1.6
24+
* 825 Revert change to increment nunit.engine.api assembly version
25+
* 829 Revert change made to IExtensionService in nunit.engine.api
26+
* 830 [CI] Test on .NET 5.0
27+
* 837 Fully remove Microsoft.Dotnet.InternalAbstractions dependency
28+
* 844 .NET Core console runner fails to load extensions when netfx and netstandard versions conflict
29+
* 847 [Build] Specify .NET 2.0 version of extensions for msi
30+
* 853 [Build] Allow local build to succeed even if all runtimes are not installed
31+
* 863 [Build] Use released version of NUnit Framework 3.13.0
32+
33+
## NUnit Console & Engine 3.12 Beta 1 - August 1, 2020
34+
35+
This is the first beta release of the NUnit Console able to run .NET Core Tests.
36+
In addition to this, this release also contains a number of bug fixes, improvements
37+
when running on Mono and significant refactoring work towards the goal of creating an
38+
engine able to run tests on a wider range of .NET platforms.
39+
40+
We're particularly interested in this beta release being tested by users of the .NET Core
41+
console and users running tests on Mono. Please feedback any issues to the nunit-console repository.
42+
43+
The .NET Core Console is a separate executable to the original version, and can be found in either
44+
the .zip file download, or the new NUnit.ConsoleRunner.NetCore NuGet package. Our longer-term aim
45+
is to create a single console which is able to run both .NET Core and .NET Framework tests.
46+
47+
Code contributions in this release were included from Charlie Poole, Chris Maddock, Christian Bay,
48+
Eberhard Beilharz, Joseph Musser, Manohar Singh and Mikkel Nylander Bundgaard. Thank you to all
49+
those who contributed both in code, and other ways!
50+
51+
* 391 Provide useful error message when agent crashes with a stack overflow exception
52+
* 475 Create .NET Core Console Runner
53+
* 662 Mono: Stacktrace missing files and line numbers
54+
* 710 .NET Core engine only works when located in same directory as test assembly
55+
* 733 iconUrl is deprecated in NuGet packages
56+
* 740 Create separate agents for .NET 2.0-3.5 and .NET 4.x
57+
* 747 [CI] Change macOS image version
58+
* 748 Make Project config information available to runners
59+
* 750 .NET Core Console Packaging
60+
* 751 Minor updates to Contributing.MD
61+
* 757 Unable to test net 3.5 assembly if there's incompatible extension installed
62+
* 758 Carry CurrentDirectory over to agent Processes
63+
* 761 Revert accidental debug message change
64+
* 762 Simplify agent communication in preparation for new wire protocol
65+
* 765 Split RuntimeFramework package setting into two: Requested and Target
66+
* 768 Test run exits with an exit code of 0 if a multiple of 256 tests fail
67+
* 775 Extension loading broken on Linux when installed from NuGet package
68+
* 777 Remove unused code to locate engine from registry keys
69+
* 778 Add .NET Core 3.1 build of engine to access APIs for loading .NET Core assemblies correctly
70+
* 779 [CI] Revert to running .NET Standard Engine Tests via NUnitLite
71+
* 783 Refactor XMLTransformResultWriterTests to avoid initialising entire engine
72+
* 784 Fix DirectTestRunner to not give all drivers the same ID.
73+
* 790 Fix agent debug logging
74+
* 800 TypeLoadException thrown when changes are made to the API assembly, with multiple versions of the engine available
75+
* 801 Begin incrementing EngineApiVersion with every release, as per Engine version
76+
77+
NUnit Console & Engine 3.11.1 - February 15, 2020
78+
This hotfix fixes a problem with NUnit Project file settings being ignored.
79+
80+
Issues Resolved
81+
82+
* 730 NUnit project file settings are ignored
83+
* 732 Upgrade Cake Build to fix Linux CI
84+
85+
NUnit Console 3.11 - January 26, 2020
86+
87+
This release fixes a range of minor bugs, and includes a significant amount
88+
of internal restructuring work. In future, this will enable improved .NET Standard
89+
support in the engine, and a .NET Core build of the console.
90+
91+
Issues Resolved
92+
93+
* 22 Engine modifies TestPackage
94+
* 53 Add project element to top-level sub-project before merging
95+
* 181 XSLT Transform not honoring --encoding value
96+
* 336 Should legacyCorruptedStateExceptionsPolicy enabled=true in nunit3-console.exe.config?
97+
* 386 nUnit project loader does not work when --inprocess is set
98+
* 453 build-mono-docker.ps1 fails to run out the box
99+
* 514 Add higher-level unit tests for structure of TestRunners
100+
* 586 Create Separate Addin File for the Engine NuGet Package
101+
* 588 licenseUrl in NuGet packages are deprecated
102+
* 591 Release 3.10 merge
103+
* 592 Add status badge from Azure pipelines
104+
* 594 Fixed typos in release notes
105+
* 595 Clean extension dir before running FetchExtensions task
106+
* 603 Engine returns assembly-level test-suite event twice
107+
* 605 Trailing \ in --work argument causes agent to crash
108+
* 607 Unload + Load changes TestPackage IDs
109+
* 611 Set DisableImplicitNuGetFallbackFolder and bump Ubuntu on Travis
110+
* 612 Fix logging when including exception
111+
* 617 Consider expanding projects before building ITestRunner structure
112+
* 625 [Feature] Extend <start-run> data for ITestEventListener
113+
* 628 [Question] Possible to set both labels=After and labels=Before
114+
* 634 Remove unnecessary stream creation in XML Transform writer
115+
* 635 Remove all #regions from codebase
116+
* 636 Labels option: Rename On as OnOutputOnly, and deprecate On and All
117+
* 637 Refactor RunnerSelectionTests
118+
* 639 Engine initializes DriverService too early
119+
* 667 Console Runner loads wrong .NET framework version when executing tests from multiple assemblies at once
120+
* 669 nunit.console-runner-with-extensions.nuspec: Remove outdated release notes
121+
* 671 Manually updated .NET Core SDK on Linux build
122+
* 681 Display path and version of extension assemblies
123+
* 683 Safely encapsulating the atomic agent database operations
124+
* 684 Split engine into upper and lower parts
125+
* 691 Sign NuGet Packages and msi
126+
* 693 Update Engine tests to run on LTS .NET Core version
127+
* 696 Minimal compilation/test of .NET Core Console
128+
* 698 Update NUnit v2 driver extension in combined packages
129+
* 703 Update Console options for .NET Core Console build
130+
* 704 Agent in nupkg should not be referenced and causes warnings in consuming projects
131+
* 706 build.cake maintenance
132+
* 707 Set agent to reference core and not full engine
133+
* 713 Engine will not recognize .NET Framework versions beyond 4.5
134+
135+
136+
NUnit Console 3.10 - March 24, 2019
2137

3138
This release merges the .NET Standard version of the engine back into the nunit.engine
4139
NuGet package and adds a .NET Standard 2.0 version of the engine that re-enables most
@@ -10,7 +145,7 @@ The `--params` command line option which took multiple test parameters separated
10145
a semi-colon is now deprecated in favor of the new `--testparam` command line option.
11146
One of the most common uses for test parameters was to pass connection strings into
12147
tests but this required workarounds to handle the semi-colons. Now you must pass in
13-
each test paramater separately using a `--testparam` or `-tp` option for each.
148+
each test parameter separately using a `--testparam` or `-tp` option for each.
14149

15150
Issues Resolved
16151

@@ -61,7 +196,7 @@ NUnit Console 3.9 - September 5, 2018
61196

62197
This release should stop the dreaded SocketException problem on shutdown. The
63198
console also no longer returns -5 when AppDomains fail to unload at the end of a
64-
test run. These fixes should make CI runs much more stable and predictible.
199+
test run. These fixes should make CI runs much more stable and predictable.
65200

66201
For developers working on the NUnit Console and Engine project, Visual Studio
67202
2017 update 5 or newer is now required to compile on the command line. This does

third_party/dotnet/nunit.console-3.10.0/LICENSE.txt renamed to third_party/dotnet/nunit-console-3.12.0/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2019 Charlie Poole, Rob Prouse
1+
Copyright (c) 2021 Charlie Poole, Rob Prouse
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal
1.25 KB
Binary file not shown.
File renamed without changes.

third_party/dotnet/nunit.console-3.10.0/bin/net20/nunit-agent-x86.exe renamed to third_party/dotnet/nunit-console-3.12.0/bin/agents/net20/nunit-agent-x86.exe

70.5 KB
Binary file not shown.

third_party/dotnet/nunit.console-3.10.0/bin/net20/nunit-agent-x86.exe.config renamed to third_party/dotnet/nunit-console-3.12.0/bin/agents/net20/nunit-agent-x86.exe.config

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@
2222
<!-- Ensure that test exceptions don't crash NUnit -->
2323
<legacyUnhandledExceptionPolicy enabled="1" />
2424

25+
<!--
26+
Since legacyUnhandledExceptionPolicy keeps the console from being killed even though an NUnit framework
27+
test worker thread is killed, this is needed to prevent a hang. NUnit framework can only handle these
28+
exceptions when this config element is present. (Or if future versions of NUnit framework drop support
29+
for partial trust which would enable it to use [HandleProcessCorruptedStateExceptions].)
30+
-->
31+
<legacyCorruptedStateExceptionsPolicy enabled="true" />
32+
2533
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
2634
<loadFromRemoteSources enabled="true" />
2735

Binary file not shown.

third_party/dotnet/nunit.console-3.10.0/bin/net20/nunit-agent.exe renamed to third_party/dotnet/nunit-console-3.12.0/bin/agents/net20/nunit-agent.exe

70.5 KB
Binary file not shown.

third_party/dotnet/nunit.console-3.10.0/bin/net20/nunit-agent.exe.config renamed to third_party/dotnet/nunit-console-3.12.0/bin/agents/net20/nunit-agent.exe.config

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@
2222
<!-- Ensure that test exceptions don't crash NUnit -->
2323
<legacyUnhandledExceptionPolicy enabled="1" />
2424

25+
<!--
26+
Since legacyUnhandledExceptionPolicy keeps the console from being killed even though an NUnit framework
27+
test worker thread is killed, this is needed to prevent a hang. NUnit framework can only handle these
28+
exceptions when this config element is present. (Or if future versions of NUnit framework drop support
29+
for partial trust which would enable it to use [HandleProcessCorruptedStateExceptions].)
30+
-->
31+
<legacyCorruptedStateExceptionsPolicy enabled="true" />
32+
2533
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
2634
<loadFromRemoteSources enabled="true" />
2735

Binary file not shown.

0 commit comments

Comments
 (0)