Skip to content

Add JavaScript/Jest support to Test Parallelization docs#37980

Merged
cbasitodx merged 11 commits into
masterfrom
sebastian.conde/test-parallelization-js-jest-docs
Jul 7, 2026
Merged

Add JavaScript/Jest support to Test Parallelization docs#37980
cbasitodx merged 11 commits into
masterfrom
sebastian.conde/test-parallelization-js-jest-docs

Conversation

@cbasitodx

@cbasitodx cbasitodx commented Jul 6, 2026

Copy link
Copy Markdown

What does this PR do? What is the motivation?

Updates the Test Parallelization documentation to reflect that ddtest now supports JavaScript/Jest.

Changes across all four pages in /tests/test_parallelization/:

  • Overview (_index.md): Added JavaScript/Jest to the compatibility table; added dd-trace >= 6.0.0 requirement.
  • Setup (setup.md): Added JavaScript prerequisites; added Ruby/Python/JavaScript tabs for single-node and multi-node run commands; added JavaScript/Jest CI setup guidance for GitHub Actions and CircleCI.
  • Configuration (configuration.md): Updated --platform, --framework, --command, and --tests-location descriptions to include JavaScript/Jest; added "Jest test discovery and instrumentation" section documenting Jest lookup order, --listTests, --runTestsByPath, and NODE_OPTIONS instrumentation.
  • Best Practices (best_practices.md): Updated description; added npm caching example alongside Bundler and pip; added "Configure Jest" section covering custom commands, discovery behavior, instrumentation, and suite-level Test Impact Analysis.

Merge instructions

Merge readiness:

  • Ready for merge

Additional notes

This follows the Python/pytest documentation structure from #37752.

@cbasitodx cbasitodx requested review from a team as code owners July 6, 2026 14:36
@cbasitodx cbasitodx marked this pull request as draft July 6, 2026 14:37
Comment thread content/en/tests/test_parallelization/best_practices.md Outdated
Comment thread content/en/tests/test_parallelization/configuration.md Outdated

@anmarchenko anmarchenko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left a couple of comments but looks good overall!

@cbasitodx cbasitodx force-pushed the sebastian.conde/test-parallelization-js-jest-docs branch from 1839919 to 928c23b Compare July 6, 2026 15:19
@cbasitodx cbasitodx marked this pull request as ready for review July 6, 2026 15:20
@estherk15 estherk15 self-assigned this Jul 6, 2026
Comment thread content/en/tests/test_parallelization/setup.md Outdated
Comment thread content/en/tests/test_parallelization/configuration.md Outdated
Comment thread content/en/tests/test_parallelization/configuration.md Outdated
Comment thread content/en/tests/test_parallelization/setup.md Outdated
Comment thread content/en/tests/test_parallelization/setup.md Outdated
Comment thread content/en/tests/test_parallelization/best_practices.md Outdated
cbasitodx and others added 2 commits July 6, 2026 19:37

@estherk15 estherk15 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates!

| -------- | ---------- | ----------------------- |
| Ruby | RSpec, Minitest | `datadog-ci` gem `1.31.0` or later |
| Python | pytest | `ddtrace` package `4.11.0` or later |
| JavaScript | Jest | `dd-trace` package `6.0.0` or later |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also include the v5 release line, as some customers might want to stick to it for a bit. That'd be https://github.com/DataDog/dd-trace-js/releases#release-v5.111.0 or higher

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'll make this changes in ddtest README aswell

Comment thread content/en/tests/test_parallelization/_index.md Outdated
Comment thread content/en/tests/test_parallelization/setup.md Outdated
cbasitodx and others added 2 commits July 7, 2026 15:25
Co-authored-by: Juan Antonio Fernández de Alba <fernandez.alba.juan@gmail.com>
@cbasitodx cbasitodx merged commit 2d0f4c4 into master Jul 7, 2026
16 checks passed
@cbasitodx cbasitodx deleted the sebastian.conde/test-parallelization-js-jest-docs branch July 7, 2026 14:20
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.

4 participants