Node-Tap vs uvu
Node-Tap
tapjs.orguvu
github.comSide by side
| Figure | Node-Tap | uvu |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | Yes | — |
| Plans published | 0 | 1 |
| Spec score · JavaScript Testing Frameworks | 7.1 (#18) | 7.6 (#11) |
| Features | The site lists TypeScript support, assertions, snapshots, spies, module mocking, fixtures, lifecycle hooks, filtering, coverage analysis, and reporters. | Its listed features include individually executable test files, async/await tests, native ES Modules, browser compatibility, and a familiar API. |
| Install | The documentation shows installing it as a development dependency with `npm install tap --save-dev`. | The README gives `npm install --save-dev uvu` as the installation command. |
| Installation | The getting-started guide installs it with `npm install tap --save-dev`. | The README gives npm install --save-dev uvu as its installation command. |
| Integrations | The repository lists optional plugins for Nock, Sinon, and esbuild-kit. | The README demonstrates using `uvu` with Node.js and shows `esm` as a preload for legacy Node.js versions. |
| Maintainer | The site says Node-Tap is created and maintained by Isaac Z. Schlueter. | The README credits Luke Edwards and links to his personal site, which identifies him as a full stack developer and web designer in San Francisco. |
| Purpose | Node-Tap is a Test-Anything-Protocol test framework library for JavaScript and a command-line tool for running tests. | uvu is a fast, lightweight test runner for Node.js and the browser. |
Plans
In their own words
uvu
uvu is a free, lightweight test runner for Node.js and browser projects. It supports individually executable test files, asynchronous tests that may return Promises, native ES modules and a familiar API. Tests can be grouped into named suites or registered through a simpler test interface, and snapshot testing is supported. Each file is self-contained and can also be run directly with Node.js. The optional CLI collects and executes suites, with options to stop after the first failure, ignore patterns, preload modules, set a working directory and colorize output. When a directory is specified, file matching takes a regular-expression pattern rather than relying on glob patterns. The optional assertion module works in browsers and can be swapped for another library, including Node.js’s native assert. Installation uses `npm install --save-dev uvu`. Package metadata specifies Node.js version `>=8`; the repository identifies the project as MIT licensed and credits Luke Edwards.