Skip to content

fix: propagate outer plugins into multi-suite sub-suites#5

Merged
wellwelwel merged 2 commits into
mainfrom
outer
Apr 26, 2026
Merged

fix: propagate outer plugins into multi-suite sub-suites#5
wellwelwel merged 2 commits into
mainfrom
outer

Conversation

@wellwelwel
Copy link
Copy Markdown
Member

When a plugin was registered at the outer config level alongside multiSuite(), its per-file hooks (runner, onTestProcess, ipc) were not applied to sub-suite test files because the inner poku() call only received config.plugins from each sub-suite.

This PR forwards outer plugins into each sub-suite with setup, teardown, and discoverFiles stripped, so lifecycle keeps running exactly once at the outer level while per-file hooks now fire for every sub-suite file.

  • Sub-suite plugins continue to be scoped to their own suite.

@wellwelwel wellwelwel marked this pull request as ready for review April 26, 2026 09:05
@wellwelwel wellwelwel merged commit 393f57e into main Apr 26, 2026
12 checks passed
@wellwelwel wellwelwel deleted the outer branch April 26, 2026 09:10
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