Skip to content

Test tooling: supertest 7.3.2, mocha 11.8.0, tests found by glob - #7

Merged
abedmurrar merged 4 commits into
masterfrom
foundation/test-tooling
Nov 21, 2026
Merged

abedmurrar merged 4 commits into
masterfrom
foundation/test-tooling

Conversation

@abedmurrar

@abedmurrar abedmurrar commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

What we built

  • Updated test tools, and a simpler way for the test runner to find tests.

Why we built it

  • So we're on current tools. And new test folders no longer need a settings change, which had been making almost every PR clash with the others.

What's new

  • The HTTP testing helper is updated to its latest version, by taking the community's own upgrade (upstream PR build(deps-dev): bump supertest to ^7.3.2 expressjs/express#7600, credited to its author).
  • The test runner is on its latest version that still supports every Node version our main line promises. Its next major version needs a newer Node, so it moves to our 6.0.
  • The same tests run as before, all passing.

krzysdz and others added 4 commits November 21, 2026 17:30
Changes related to path normalization are no longer necessary, but there is no easy way to get the server address.

(cherry picked from commit 2a2fe34)
.mocharc.yml now lists every test file under test/ (excluding support
and fixture files), so a new test folder no longer needs a package.json
script change, which was making every PR conflict. The same 2,123 tests
run.

mocha goes to ^11.8.0, the latest release that still runs on master's
whole CI matrix (Node 16 to 26). mocha 12 needs Node 20.19+, so it
moves to the 6.x line with its Node 24 minimum.
# Conflicts:
#	History.md
#	package.json
@abedmurrar
abedmurrar merged commit d449170 into master Nov 21, 2026
25 checks passed
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 44921076304

Coverage remained the same at 99.419%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 1549
Covered Lines: 1540
Line Coverage: 99.42%
Coverage Strength: 5939.94 hits per line

💛 - Coveralls

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 44921076299

Coverage remained the same at 99.419%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 1549
Covered Lines: 1540
Line Coverage: 99.42%
Coverage Strength: 26749.43 hits per line

💛 - Coveralls

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.

3 participants