Skip to content

Depend on engine API and Common builds without NUnit.Extensibility.Api - #16

Merged
CharliePoole merged 1 commit into
mainfrom
issue-1980
Dec 5, 2026
Merged

CharliePoole merged 1 commit into
mainfrom
issue-1980

Conversation

@CharliePoole

Copy link
Copy Markdown
Member

Part of nunit/nunit-console#1980. NUnit.Extensibility depends on NUnit.Engine.Api and NUnit.Common. Both of the pinned versions lead back to NUnit.Extensibility.Api, the package released with this one:

  • NUnit.Engine.Api 4.0.0-beta.101 references NUnit.Extensibility.Api directly.
  • NUnit.Common 4.0.0-beta.5 depends on NUnit.Extensibility.Api directly.

nunit/nunit.engine.api#28 and nunit/NUnit.Common#1 removed those references. This PR pins the builds that contain them.

Changes

  • Directory.Packages.props: NUnit.Engine.Api goes from 4.0.0-beta.101 to 4.0.0-beta.101.8, and NUnit.Common from 4.0.0-beta.5 to 4.0.0-beta.6.1. No code changes.

With these pins, the NUnit.Extensibility package's dependencies no longer lead back to NUnit.Extensibility.Api: Common 4.0.0-beta.6.1 depends only on Engine.Api 4.0.0-beta.101.8, and that has no dependencies.

Tests

A new test, DependencyTests.EngineApiDoesNotReferenceExtensibilityApi, checks that the engine API that Extensibility builds against doesn't reference NUnit.Extensibility.Api. It failed with the old pins and passes with the new ones. All tests pass on net462 and net8.0, and both packages build and verify.

Follow-up

nunit/nunit-console will pin the MyGet builds containing this change. The same PR will update the engine and console for the new IExtensionService types.

🤖 Generated with Claude Code

NUnit.Engine.Api 4.0.0-beta.101.8 no longer references NUnit.Extensibility.Api,
and NUnit.Common 4.0.0-beta.6.1 depends on that build. With both pinned, the
NUnit.Extensibility package no longer depends, through them, on the API
package released with it. A new test checks that the engine API it builds
against doesn't reference NUnit.Extensibility.Api (nunit/nunit-console#1980).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@CharliePoole
CharliePoole merged commit f5fbe4e into main Dec 5, 2026
2 checks passed
@CharliePoole
CharliePoole deleted the issue-1980 branch December 5, 2026 03:44
@CharliePoole CharliePoole added the enhancement New feature or request label Dec 6, 2026
@CharliePoole CharliePoole added this to the 4.0.0-beta.7 milestone Dec 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant