Skip to content

Expand test suite with 10 new tests and fixture plans#60

Merged
erikdarlingdata merged 1 commit intodevfrom
feature/expand-test-suite
Mar 8, 2026
Merged

Expand test suite with 10 new tests and fixture plans#60
erikdarlingdata merged 1 commit intodevfrom
feature/expand-test-suite

Conversation

@erikdarlingdata
Copy link
Owner

Summary

  • Add 10 new tests covering Rules 25 (Ineffective Parallelism), 28 (NOT IN with Nullable Column), 30 (Missing Index Quality), 31 (Parallel Wait Bottleneck), seek predicate parsing, parameter sniffing detection, PSPO/Dispatcher parsing, and spill detection
  • Add 7 example plans as test fixtures from .internal/examples/
  • Fix Rule 28 bug: PhysicalOp == "Row Count Spool" didn't match parser's "Lazy Row Count Spool" output
  • Fix PlanTestHelper UTF-16 encoding handling for SSMS-exported plans

Test suite: 37 → 47 tests, all passing.

Test plan

  • All 47 tests pass (dotnet test)
  • Rule 28 fix verified with row-count-spool-slow.sqlplan fixture
  • UTF-16 plans (SSMS exports) parse correctly in test helper

🤖 Generated with Claude Code

Add test coverage for Rules 25, 28, 30, 31 and parsing improvements
(seek predicates, parameter sniffing, PSPO/Dispatcher). Fix Rule 28
Row Count Spool detection to match parser's "Lazy Row Count Spool"
PhysicalOp. Fix PlanTestHelper UTF-16 encoding handling for SSMS plans.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 155ff21 into dev Mar 8, 2026
2 checks passed
@erikdarlingdata erikdarlingdata deleted the feature/expand-test-suite branch March 10, 2026 02:27
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