Repository navigation
Depend on engine API and Common builds without NUnit.Extensibility.Api - #16
Merged
Merged
Conversation
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>
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.
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:
4.0.0-beta.101references NUnit.Extensibility.Api directly.4.0.0-beta.5depends 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 from4.0.0-beta.101to4.0.0-beta.101.8, and NUnit.Common from4.0.0-beta.5to4.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.1depends only on Engine.Api4.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
IExtensionServicetypes.🤖 Generated with Claude Code