An independent, rigorous E2E test suite for @pkg-nec/http-server.
Purpose: To verify that new upstream versions work flawlessly, prevent regressions, and transparently track known behavior changes over time.
- Status: Verified Stable.
- Details: All core E2E tests pass flawlessly with no regressions detected.
- Status: Verified Stable (with known behavior change).
- Details: Documented a change in the
html-encoding-snifferpackage. It was upgraded to conform to the WHATWG Encoding Standard, resulting iniso-8859-1being correctly aliased towindows-1252. Our test suite was updated to strictly verify this compliance across legacy and modern versions.
- Status: Verified Baseline Stability.
- Details: Established robust testing for core features:
- minimist: CLI flag parsing, CORS, caching,
--no-dotfiles, and--tlsalias. - portfinder: Fallback port allocation when default ports are blocked.
- Architecture: Built with strict process isolation and dynamic OS-level port allocation to prevent
EADDRINUSErace conditions during parallel test execution.
- minimist: CLI flag parsing, CORS, caching,
To run the test suite locally against a specific upstream version:
# 1. Clone the repository
git clone <repo-url>
cd http-server-e2e
# 2. Install a target version of the server
npm install @pkg-nec/http-server@14.3.1
# 3. Execute the Tap-based parallel test suite
npm test