Repository navigation
Conversation
Consolidate runtime framework integration and fixtures into core, support newer framework majors, and align release documentation and Durable preview versioning with v7.0.0. Co-authored-by: Copilot App <[email protected]>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
CI restore can fail on unsupported targets, default publishing references deleted adapters, and unresolved framework-integration regressions affect output routing, fixture lifecycle, and assertions.
7 open issues
Apply TargetFrameworks override to all four SDK 8 commands · New Use NUnit native failure API to preserve multiple-assert behavior · New Let explicit output override automatic ambient integration · New Honor registered factories before runtime implementor detection · New Restore enclosing implementor when disposing nested fixtures · New Provide xUnit a public parameterless fixture constructor · New Initialize tester after base installs output and factory · New
What changed in this PR
Prepares UnitTestEx 7.0.0 by moving test-framework integration into core and retiring separate adapter packages. The release also includes the Durable Functions preview already merged in #109; this diff updates its release documentation rather than reintroducing its implementation.
Changes:
- Adds runtime framework detection, cached assertion/output bindings, and framework-neutral fixtures with lifecycle hooks.
- Migrates existing suites and adds xUnit v3, NUnit 5, MSTest 4, fallback, and CI output-capture checks.
- Updates shared versioning and documentation for v7 and the coordinated Durable preview.
| File | Description |
|---|---|
UnitTestEx.sln |
Removes adapters and registers new verification projects. |
tests/UnitTestEx.Xunit3.Test/UnitTestEx.Xunit3.Test.csproj |
Adds the xUnit v3 test project. |
tests/UnitTestEx.Xunit3.Test/RuntimeFrameworkTests.cs |
Checks detection, selection, assertions, and output. |
tests/UnitTestEx.Xunit.Test/WithFunctionTesterTest.cs |
Tests neutral fixture output and lifecycle hooks. |
tests/UnitTestEx.Xunit.Test/UnitTestEx.Xunit.Test.csproj |
Removes the xUnit adapter reference. |
tests/UnitTestEx.Xunit.Test/ServiceBusFunctionTest.cs |
Imports core abstractions. |
tests/UnitTestEx.Xunit.Test/ProductFunctionTest.cs |
Imports core abstractions. |
tests/UnitTestEx.Xunit.Test/ProductControllerTest.cs |
Updates fixture constructor arguments. |
tests/UnitTestEx.Xunit.Test/PersonFunctionTest.cs |
Imports core abstractions. |
tests/UnitTestEx.Xunit.Test/PersonControllerTest.cs |
Imports core abstractions. |
tests/UnitTestEx.Xunit.Test/Other/RequestStateDataTest.cs |
Imports core abstractions. |
tests/UnitTestEx.Xunit.Test/Other/ObjectComparerTest.cs |
Imports core abstractions. |
tests/UnitTestEx.Xunit.Test/Other/LoggerTest.cs |
Uses framework-neutral logger integration. |
tests/UnitTestEx.Xunit.Test/Other/GenericTest.cs |
Imports core abstractions. |
tests/UnitTestEx.Xunit.Test/Other/CheckpointAndDelayTest.cs |
Imports core abstractions. |
tests/UnitTestEx.Xunit.Test/MockHttpClientTest.cs |
Imports core abstractions. |
tests/UnitTestEx.Xunit.Test/HttpMockInterfaceTest.cs |
Imports core abstractions. |
tests/UnitTestEx.NUnit5.Test/UnitTestEx.NUnit5.Test.csproj |
Adds the NUnit 5 test project. |
tests/UnitTestEx.NUnit5.Test/RuntimeFrameworkTests.cs |
Checks native assertions, selection, and output. |
tests/UnitTestEx.NUnit.Test/UnitTestEx.NUnit.Test.csproj |
Removes the NUnit adapter reference. |
tests/UnitTestEx.NUnit.Test/ProductControllerTest.cs |
Uses neutral framework resolution during setup. |
tests/UnitTestEx.NUnit.Test/Other/WithGenericTesterTest.cs |
Adds configuration and disposal-hook coverage. |
tests/UnitTestEx.NUnit.Test/Other/LoggerTest.cs |
Uses framework-neutral logger integration. |
tests/UnitTestEx.MSTest4.Test/UnitTestEx.MSTest4.Test.csproj |
Adds the MSTest 4 test project. |
tests/UnitTestEx.MSTest4.Test/RuntimeFrameworkTests.cs |
Checks native assertions, selection, and output. |
tests/UnitTestEx.MSTest.Test/UnitTestEx.MSTest.Test.csproj |
Removes the MSTest adapter reference. |
tests/UnitTestEx.MSTest.Test/Other/LoggerTest.cs |
Uses framework-neutral logger integration. |
tests/UnitTestEx.FrameworkFallback.Test/UnitTestEx.FrameworkFallback.Test.csproj |
Adds a framework-free verification executable. |
tests/UnitTestEx.FrameworkFallback.Test/Program.cs |
Checks fallback diagnostics and invalid selection. |
tests/UnitTestEx.DurableFunction.HostProbe/UnitTestEx.DurableFunction.HostProbe.csproj |
Removes the NUnit adapter reference. |
tests/UnitTestEx.Azure.Functions.Durable.Test/UnitTestEx.Azure.Functions.Durable.Test.csproj |
Removes the NUnit adapter reference. |
tests/UnitTestEx.Azure.Functions.Durable.Integration.Test/UnitTestEx.Azure.Functions.Durable.Integration.Test.csproj |
Removes the NUnit adapter reference. |
tests/UnitTestEx.Aspire.Xunit.Test/UnitTestEx.Aspire.Xunit.Test.csproj |
Removes the xUnit adapter reference. |
tests/UnitTestEx.Aspire.Xunit.Test/AspireDisposalTest.cs |
Imports core abstractions. |
tests/UnitTestEx.Aspire.NUnit.Test/UnitTestEx.Aspire.NUnit.Test.csproj |
Removes the NUnit adapter reference. |
tests/UnitTestEx.Aspire.MSTest.Test/UnitTestEx.Aspire.MSTest.Test.csproj |
Removes the MSTest adapter reference. |
src/UnitTestEx/WithGenericTester.cs |
Adds a neutral generic tester fixture base. |
src/UnitTestEx/WithApiTester.cs |
Adds owned/shared API tester fixture support. |
src/UnitTestEx/TestSetUp.cs |
Adds explicit framework selection. |
src/UnitTestEx/GenericTester.cs |
Adds output and implementor factory overloads. |
src/UnitTestEx/Generic/GenericTesterT2.cs |
Accepts output and factories for typed testers. |
src/UnitTestEx/Generic/GenericTesterT.cs |
Accepts output and implementor factories. |
src/UnitTestEx/AspNetCore/ApiTesterT.cs |
Adds per-instance output support. |
src/UnitTestEx/ApiTestFixture.cs |
Adds a neutral shared API fixture. |
src/UnitTestEx/ApiTester.cs |
Adds an output-aware factory overload. |
src/UnitTestEx/Abstractions/UnitTestBase.cs |
Establishes per-test context and cleanup hooks. |
src/UnitTestEx/Abstractions/TestFrameworkImplementor.cs |
Adds ambient implementors and runtime resolution. |
src/UnitTestEx/Abstractions/TestFramework.cs |
Defines explicit framework choices. |
src/UnitTestEx/Abstractions/RuntimeTestFrameworkImplementor.cs |
Implements detection, assertions, output, and fallback. |
src/UnitTestEx/Abstractions/RuntimeFrameworkApiCache.cs |
Caches framework API bindings. |
src/UnitTestEx/Abstractions/LocalTestFrameworkImplementor.cs |
Routes shared fixtures through current context. |
src/UnitTestEx.Xunit/WithApiTester.cs |
Removes the xUnit-specific fixture base. |
src/UnitTestEx.Xunit/UnitTestEx.Xunit.csproj |
Removes the xUnit adapter project. |
src/UnitTestEx.Xunit/UnitTestBase.cs |
Removes the xUnit-specific test base. |
src/UnitTestEx.Xunit/Internal/XunitTestImplementor.cs |
Removes the compiled xUnit adapter. |
src/UnitTestEx.Xunit/Internal/XunitLocalTestImplementor.cs |
Removes the xUnit-only context proxy. |
src/UnitTestEx.Xunit/ApiTestFixture.cs |
Removes the xUnit-specific shared fixture. |
src/UnitTestEx.NUnit/WithGenericTester.cs |
Removes the NUnit-specific generic fixture. |
src/UnitTestEx.NUnit/WithApiTester.cs |
Removes the NUnit-specific API fixture. |
src/UnitTestEx.NUnit/UnitTestEx.NUnit.csproj |
Removes the NUnit adapter project. |
src/UnitTestEx.NUnit/Internal/OneOffTestSetUp.cs |
Removes automatic NUnit adapter registration. |
src/UnitTestEx.NUnit/Internal/NUnitTestImplementor.cs |
Removes the compiled NUnit adapter. |
src/UnitTestEx.MSTest/WithGenericTester.cs |
Removes the MSTest-specific generic fixture. |
src/UnitTestEx.MSTest/WithApiTester.cs |
Removes the MSTest-specific API fixture. |
src/UnitTestEx.MSTest/UnitTestEx.MSTest.csproj |
Removes the MSTest adapter project. |
src/UnitTestEx.MSTest/Internal/OneOffTestSetUp.cs |
Removes automatic MSTest adapter registration. |
src/UnitTestEx.MSTest/Internal/MSTestImplementor.cs |
Removes the compiled MSTest adapter. |
src/UnitTestEx.Azure.Functions/WithFunctionTester.cs |
Adopts neutral context and lifecycle hooks. |
src/UnitTestEx.Azure.Functions/FunctionTester.cs |
Accepts per-test output in factory calls. |
src/UnitTestEx.Azure.Functions/Azure/Functions/FunctionTesterT.cs |
Forwards output to framework resolution. |
src/UnitTestEx.Aspire/AspireTester.cs |
Adds an output-aware factory overload. |
src/UnitTestEx.Aspire/Aspire/AspireTesterT.cs |
Adds per-instance output support. |
README.md |
Presents v7 packages and core framework integration. |
docs/test-setup-and-extensibility.md |
Documents detection, factories, and lifecycle hooks. |
docs/migration-v6.md |
Clarifies that .NET 11 support starts in v7. |
docs/generic-testing.md |
Documents output overloads and neutral fixtures. |
docs/azure-functions.md |
Updates output, fixture, and framework guidance. |
docs/azure-durable-functions.md |
Updates preview versions and package guidance. |
docs/azure-durable-functions-design.md |
Aligns coordinated version examples with v7. |
docs/aspire.md |
Documents per-test output handling. |
docs/api-testing.md |
Documents output sinks and factory ownership. |
Common.targets |
Sets the shared version to 7.0.0. |
CHANGELOG.md |
Consolidates unpublished changes into the v7 release. |
.github/workflows/ci.yml |
Adds framework smoke and output-capture checks. |
Review effort: Balanced
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
This was referenced Nov 14, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Release scope
Prepare UnitTestEx 7.0.0 and UnitTestEx.Azure.Functions.Durable 7.0.0-preview. Version 6.2.0 was never published and will not be released; its unpublished changes are included in the v7 changelog and release scope.
The Durable Functions implementation from #109 is already merged into
mainand therefore is not duplicated in this PR's diff. It is part of the v7 release described here.Framework-neutral testing
UnitTestExinfers xUnit v2/v3, NUnit v4/v5, and MSTest v3/v4 at runtime, replacing the separate UnitTestEx framework adapter packages. Custom frameworks integrate throughTestFrameworkImplementorfactories; missing or ambiguous detection has a diagnostic framework-neutral fallback.Durable Functions and other v7 release features
Resolved issues