Skip to content

Tests: Improve theme test isolation - #13194

Draft
sirreal wants to merge 1 commit into
WordPress:trunkfrom
sirreal:agent/test-order-themes-isolation
Draft

Tests: Improve theme test isolation#13194
sirreal wants to merge 1 commit into
WordPress:trunkfrom
sirreal:agent/test-order-themes-isolation

Conversation

@sirreal

@sirreal sirreal commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

  • Uses a genuinely unregistered block fixture for negative global-style assertions and restores theme support, stylesheet, filter, and theme-JSON cache state.
  • Keeps the changes confined to PHPUnit tests and fixtures.

Verification

  • 50 consecutive randomized themes-group runs passed; each completed 625 tests and 7,297 assertions.
  • Replayed the original failing seed and focused contaminator/consumer cases during diagnosis.
  • PHP syntax checks passed for every changed PHP file.
  • git diff --check passed.

Trac: https://core.trac.wordpress.org/ticket/65893

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