Skip to content

Conversation

@MrJul
Copy link
Member

@MrJul MrJul commented Dec 29, 2025

What does the pull request do?

This PR updates the supported version of NUnit for the headless platform from v3 to v4.
The corresponding unit tests have also been updated.

Notes:

  • NUnit 4 is an update mostly compatible with v3, for better and for worse. There still isn't a nice overridable pipeline, but our reflection hacks still work.
  • Thread abort timeouts have been removed. They weren't working in modern .NET anyways, and NUnit v4 doesn't support them. This matches our xUnit tests which don't have any timeout.
  • An AssertHelper class has been introduced in our unit tests to abstract away from the difference between xUnit and NUnit asserts.

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 12.0.999-cibuild0061141-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@MrJul MrJul mentioned this pull request Jan 5, 2026
3 tasks
@maxkatz6 maxkatz6 added this pull request to the merge queue Jan 7, 2026
Merged via the queue into AvaloniaUI:master with commit 2fd35c5 Jan 7, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants