Skip to content

test: migrate from tap and c8 to node test runner - #150

Merged
panva merged 1 commit into
nodejs:mainfrom
trivikr:remove-tap-2
Aug 28, 2026
Merged

test: migrate from tap and c8 to node test runner#150
panva merged 1 commit into
nodejs:mainfrom
trivikr:remove-tap-2

Conversation

@trivikr

@trivikr trivikr commented Aug 19, 2026

Copy link
Copy Markdown
Member

Replace the tap and c8 development dependencies with Node.js built-in testing and coverage functionality.

This migrates the suite to:

  • node:test with describe() and test()
  • Native TestContext assertions
  • Built-in test coverage and LCOV reporting
  • Explicit promise handling for subprocess and event-driven tests

This also lets core-validate-commit, as a Node.js project, dogfood Node.js’s own test runner and coverage tooling.

The CLI’s --tap output option remains unchanged.


Assisted-by: codex:gpt-5.6-sol

@trivikr

trivikr commented Aug 24, 2026

Copy link
Copy Markdown
Member Author

CCing @aduh95 as he'd reviewed/merged PRs in the repo.

@trivikr

trivikr commented Aug 28, 2026

Copy link
Copy Markdown
Member Author

cc @panva for review, as he has been reviewing/merging code in other core packages, like https://github.com/nodejs/node-core-utils

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

LGTM

@panva
panva merged commit f18693f into nodejs:main Aug 28, 2026
4 checks passed
@trivikr
trivikr deleted the remove-tap-2 branch August 28, 2026 21:15
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.

2 participants