Node-Tap vs Web Test Runner
Node-Tap
tapjs.orgWeb Test Runner
modern-web.devSide by side
| Figure | Node-Tap | Web Test Runner |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | Yes | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 0 | 1 |
| Spec score · JavaScript Testing Frameworks | 7.1 (#18) | 8.2 (#4) |
| Installation | The getting-started guide installs it with `npm install tap --save-dev`. | The official installation instructions use npm to add @web/test-runner as a development dependency. |
| Integrations | The repository lists optional plugins for Nock, Sinon, and esbuild-kit. | The docs describe using the Playwright launcher with GitHub Actions via Microsoft's Playwright Action. |
| Purpose | Node-Tap is a Test-Anything-Protocol test framework library for JavaScript and a command-line tool for running tests. | Web Test Runner is a test runner for web applications. |
| Support | The site links to a Matrix chat for community discussion and GitHub for the project repository. | The project links to Discord for community discussion and lists sponsorship and contributions as ways to support it. |
Plans
In their own words
Web Test Runner
Web Test Runner is a test runner for web applications, installable as an npm development dependency. It runs tests in parallel and isolation, giving each test file its own browser environment. Headless testing is supported through launchers including Puppeteer, Playwright, Selenium, BrowserStack, and WebdriverIO. Playwright can use Chromium, Firefox, and WebKit; BrowserStack runs tests remotely, including against older browser versions. Debug mode opens a browser window with developer tools, and the runner reports browser logs, 404 responses, and errors. Its command line offers interactive watch mode that reruns tests when files change, plus code coverage with configurable thresholds and reports. Default coverage instrumentation uses Chromium. Other features include ES module mocking through import maps and Mocha integration, with guidance for a custom test framework. The project is MIT-licensed, powered by esbuild and Rollup plugins, and directs users to GitHub and Discord for help and discussion. It is free and open source.