Skip to content

feat: add node test reporter#909

Merged
devpow112 merged 1 commit into
mainfrom
depowell/add-node-test-reporter
Jun 22, 2026
Merged

feat: add node test reporter#909
devpow112 merged 1 commit into
mainfrom
depowell/add-node-test-reporter

Conversation

@devpow112

@devpow112 devpow112 commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Adds a native Node.js test runner reporter (src/reporters/node.js) that produces a schema v3 D2L test report, covering name, location, taxonomy, started, duration, status, retries, and github.codeowners, alongside integration test fixtures, validation, docs, and a README entry. The reporter works both through the CLI via the --test-reporter flag (reading options from D2L_TEST_REPORTING_* environment variables since the runner does not forward options to custom reporters) and programmatically through the named reporter factory composed onto the run() stream.

Each test detail omits configuration.timeout since the Node.js test runner does not expose the configured timeout, and retries is always 0 with no test counted as flaky since the runner has no built-in retry mechanism.

https://desire2learn.atlassian.net/browse/QE-2218

@github-actions github-actions Bot added documentation Improvements or additions to documentation javascript Pull requests that update JavaScript code labels Jun 22, 2026
@devpow112 devpow112 changed the title feat: Add node test reporter feat: add node test reporter Jun 22, 2026
@devpow112 devpow112 force-pushed the depowell/add-node-test-reporter branch from 003e722 to 8f3ae30 Compare June 22, 2026 13:59
@github-actions

This comment has been minimized.

@devpow112 devpow112 force-pushed the depowell/add-node-test-reporter branch 2 times, most recently from c10ff0e to 623e2c4 Compare June 22, 2026 14:13
@github-actions

This comment has been minimized.

@devpow112 devpow112 force-pushed the depowell/add-node-test-reporter branch from 623e2c4 to 5c5a2fb Compare June 22, 2026 14:34
@github-actions github-actions Bot added the github-actions Pull requests that update GitHub Actions code label Jun 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Coverage Report

Report

Report Validation

mocha 🟢

Schema: PASSED 🟢
Contents: PASSED 🟢

Report

node 🟢

Schema: PASSED 🟢
Contents: PASSED 🟢

Report

playwright 🟢

Schema: PASSED 🟢
Contents: PASSED 🟢

Report

@web/test-runner 🟢

Schema: PASSED 🟢
Contents: PASSED 🟢

Report

webdriverio 🟢

Schema: PASSED 🟢
Contents: PASSED 🟢

Report

@devpow112 devpow112 marked this pull request as ready for review June 22, 2026 14:55
@devpow112 devpow112 requested a review from a team as a code owner June 22, 2026 14:55
@devpow112 devpow112 enabled auto-merge (squash) June 22, 2026 14:55

@sarahboyd sarahboyd 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.

LGTM! 🚀

@devpow112 devpow112 merged commit c226a0d into main Jun 22, 2026
5 checks passed
@devpow112 devpow112 deleted the depowell/add-node-test-reporter branch June 22, 2026 15:51
@d2l-github-release-tokens

Copy link
Copy Markdown

🎉 This PR is included in version 6.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@d2l-github-release-tokens d2l-github-release-tokens Bot added the released Pull requests that have been released label Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation github-actions Pull requests that update GitHub Actions code javascript Pull requests that update JavaScript code released Pull requests that have been released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants