Repository navigation
Rename tests/DependencyModules.Tests to tests/DependencyModules.xUnit.Tests - #144
Merged
Merged
Conversation
….Tests The project now holds only the tests of the xUnit and NUnit integrations, which need the xUnit runner. Drop the references and the shared harness link that its remaining tests no longer use, and describe the split of the test suites in CONTRIBUTING.md and CHANGELOG.md. 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.
What changed
tests/DependencyModules.xUnit.Tests. Updated the paths inscripts/test-xunit.shandscripts/coverage.sh. The workflows call only these scripts, so they need no change.tests/DependencyModules.Specs/Infrastructureharness, the snapshot content andSnapshotDirectoryattribute, PublicApiGenerator, the Roslyn packages, and the references to DependencyModules.CodeFixes, Moq and FakeItEasy. The source generator is now referenced as an analyzer only, like ininteg-tests.net8.0target. DependencyModules.xUnit, DependencyModules.xUnit4 and DependencyModules.NUnit ship anet8.0build, and this project is the only unit-test run of that build.xUnitTestscall the xunit.v3 extensibility types,NUnitTestsdrive DependencyModules.NUnit, andTestingTests/TestContainerSourceTestsuses[ModuleTest]from DependencyModules.xUnit.Snapshot.csandRequire.cs, which still described the harness as compiled into two projects.Why
After the earlier moves (#136 to #140), the old project holds only the tests of the xUnit and NUnit integrations. The new name says why it is still on xUnit.
How it was tested
! grep -rqE '\[(Fact|Theory)\b|Assert\.' tests/DependencyModules.Specs --include='*.cs'exits 0.dotnet csharpier check .passes, anddotnet build DependencyModules.sln --configuration Releasesucceeds../scripts/coverage.sh 85passes with 92.9% line coverage. DependencyModules.xUnit.Tests passes 72 tests on net8.0 and 72 on net10.0. SutProject.Tests passes 174, SutProject.NUnitTests 46, WebApiApp.Tests 2 on each framework, and DependencyModules.Specs passes 1150../scripts/test-xunit.sh 4passes: DependencyModules.xUnit.Tests 73 on each framework, SutProject.Tests 174, WebApiApp.Tests 2, and DependencyModules.Specs 1150.scripts/verify-packages.sh, because no package changed.🤖 Generated with Claude Code
Opened by Agent Driver for step
stp-vgdm-cleanupof Tasktsk-verificationglue.