Skip to content

fix(scripts): Add primary DLL filter for accurate test discovery#87

Merged
philcarbone merged 1 commit into
developfrom
feature/run-tests-primary-dll-filter
Feb 7, 2026
Merged

fix(scripts): Add primary DLL filter for accurate test discovery#87
philcarbone merged 1 commit into
developfrom
feature/run-tests-primary-dll-filter

Conversation

@philcarbone
Copy link
Copy Markdown
Contributor

Summary

  • 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.

Test plan

  • Verified Ai mode correctly discovers 25 non-integration test projects (7,006 tests)
  • Verified AiFull mode correctly discovers all 28 test projects
  • Confirmed actual test count via --list-tests: 7,155 total tests
  • Cleaned up 3 orphaned test directories with stale build artifacts

🤖 Generated with Claude Code

- 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>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 7, 2026

📦 Version Information: 0.4.0-pr87.63

Property Value
SemVer 0.4.0-pr87.63
Full SemVer 0.4.0-pr87.63
Pre-release pr87.63

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@philcarbone philcarbone merged commit 089e862 into develop Feb 7, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant