fix(scripts): Add primary DLL filter for accurate test discovery#87
Merged
Merged
Conversation
- Add Test-IsPrimaryTestDll function to filter out copied DLLs from other projects' bin folders (e.g., Whizbang.Core.Tests.dll copied to Whizbang.Data.Tests/bin/ due to project references) - Replace --solution flag with explicit DLL discovery for AiFull/Full modes to avoid picking up library projects like Whizbang.Testing - Apply primary DLL filter to both integration-excluded and integration-included test discovery paths This ensures each test DLL is only run from its primary project location, preventing duplicate test execution and fixing the "Unable to proceed with project Whizbang.Testing" error. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Contributor
|
📦 Version Information:
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Summary
Test-IsPrimaryTestDllfunction to filter out copied DLLs from other projects' bin folders (e.g.,Whizbang.Core.Tests.dllcopied toWhizbang.Data.Tests/bin/due to project references)--solutionflag with explicit DLL discovery for AiFull/Full modes to avoid picking up library projects likeWhizbang.TestingThis ensures each test DLL is only run from its primary project location, preventing duplicate test execution and fixing the "Unable to proceed with project Whizbang.Testing" error.
Test plan
Aimode correctly discovers 25 non-integration test projects (7,006 tests)AiFullmode correctly discovers all 28 test projects--list-tests: 7,155 total tests🤖 Generated with Claude Code