Skip to content

Replace XUnit tests with NUnit - #7502

Open
bdukes wants to merge 1 commit into
dnnsoftware:developfrom
bdukes:xunit-to-nunit
Open

Replace XUnit tests with NUnit#7502
bdukes wants to merge 1 commit into
dnnsoftware:developfrom
bdukes:xunit-to-nunit

Conversation

@bdukes

@bdukes bdukes commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

The Bulk Install project was brought in using XUnit for testing, while the rest of the project uses NUnit. This means that the tests don't even get run/reported in CI. For the sake of consistency and reducing dependencies, I've migrated those tests to NUnit.

Those tests also use FakeItEasy (other DNN tests use Moq) and Shouldly (other DNN tests use NUnit's assertion library). Ideally we would also introduce some consistency there, but it's a more impactful change than I wanted to take right now.

@bdukes bdukes added this to the 10.4.0 milestone Sep 4, 2026
@bdukes bdukes added Type: Maintenance .NET Pull requests that update .net code labels Sep 4, 2026
@bdukes bdukes mentioned this pull request Sep 4, 2026
@bdukes
bdukes force-pushed the xunit-to-nunit branch 2 times, most recently from 7109496 to 7b5ddfb Compare September 8, 2026 18:53
@valadas valadas modified the milestones: 10.4.0, 10.4.1 Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

.NET Pull requests that update .net code Type: Maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants