Repository navigation
docs: remove false "parallel: tests" claim from docs (fixes #35) - #36
Merged
Merged
Conversation
ExecutionValidator only accepts none/methods/classes at suite
bootstrap; docs advertised TestNG's `tests` mode too, sending users
who copied it into an IllegalStateException before any test runs.
Fixes three lines in guides/parallel.md (inline config comment, the
"works with all of them" claim, and the `tests` table row) plus two
more instances found in the same sweep in configuration.md (the
inline comment and the `parallel` value table). Each spot now states
plainly which values are validated and that others are rejected at
bootstrap, instead of silently dropping the row — so a TestNG user
looking for `tests` finds the explanation, not a gap.
The error message itself ("Parallel execution configuration missing"
for an unsupported value, not a missing one) is a known follow-up,
deliberately out of scope here per the current roadmap gate.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This was referenced Jul 27, 2026
3 tasks done
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
docs-site/docs/guides/parallel.mdadvertised TestNG'stestsparallel mode, butExecutionValidator.validate()(called unconditionally at every suite start byFrameworkBootstrap.initialize()) only acceptsnone/methods/classes. A user who copiedparallel: testsfrom the guide got a suite that aborted at bootstrap withIllegalStateException: Parallel execution configuration missing— a message that sends them hunting for absent config rather than telling them the value was rejected.This is a docs-only fix, per the roadmap's conditional gate:
parallel: testswas slated to become the v3.3.0 code fix (addtestssupport toExecutionValidator) if a Marketplace download-lift signal held on re-measurement; it did not hold as of 2026-07-27, so the docs are corrected to match current code behavior instead. No.javafiles are touched.Changes
docs-site/docs/guides/parallel.mdnone (default) | methods | classes | tests→none (default) | methods | classestests, is rejected at bootstrapteststable rowdocs-site/docs/configuration.md— found in the same sweep, not in the original three known lines:none | methods | classes | tests→none | methods | classes### parallelsection — dropped thetestsvalue row from the behaviour table and added a sentence stating the value is validated at bootstrap andtestsis not currently acceptedRather than silently deleting the
testsrows, each spot now says plainly which values are supported and that others are rejected at startup — a TestNG-literate reader who goes looking fortestsfinds an explanation instead of an unexplained gap, and the error, if someone still hits it, is findable from the docs.Known-remaining (deliberately out of scope)
The error message itself —
"Parallel execution configuration missing"thrown for an unsupported value rather than a missing one — is misleading and called out in #35 as Bug 2. Fixing it means touchingExecutionValidator, which is the code change deferred by the roadmap gate mentioned above. Not addressed in this PR.Also out of scope: #35's Bug 3 (the
maxActiveSessionscomment implying an enforced relationship tothreadCountthat the code doesn't actually check) — separate wording issue, not part of thetests-mode defect this PR fixes.Sweep
Grepped all of
docs-site/docs,docs-site/src, andREADME.md(excluding the gitignoreddocs-site/buildoutput andnode_modules) for any other advertisement ofparallel: testsor an "all TestNG modes work" claim. Found and fixed one additional instance beyond the three known lines (configuration.md, two spots, listed above). No other occurrences remain — confirmed by a final grep pass after the edits.Verification
cd docs-site && npm run build— succeeds (Docusaurus 3.5.2, client + server compiled, static files generated).Fixes #35
🤖 Generated with Claude Code