Side by side
Jasmine vs QUnit
Both stand on javascript testing frameworks. Which one you can start free with, which one lets you read the code, and what each costs once you pay.
Free plan LinuxMacWeb+1
Jasmine provides browser and Node.js testing options, with configurable runners and customization tools. Check its rolling platform support and the karma-jasmine adapter limitation if either affects your setup.
Visit Jasmine Free plan AndroidAPIiPhone+5
QUnit covers browser, server, and worker JavaScript testing, with reporting, fixture isolation, and extension options. Check its ESM compatibility requirements against the Node.js and browser versions you use.
Visit QUnitThe facts
| Jasmine | QUnit | |
|---|---|---|
| Free plan | Yes | Yes |
| Open source | Not published | Not published |
| Runs on | Linux, Mac, Web, Windows | Android, API, iPhone, Linux, Mac, Self-hosted, Web, Windows |
| Lowest paid plan | Free or on request | Free or on request |
| Plans published | 1 | 1 |
| Maker | Not published | Not published |
| Website | jasmine.github.io | qunitjs.com |
| On javascript testing frameworks | #2 of 23 | #6 of 23 |
Jasmine: what it does well
- No external dependencies in jasmine-core.
- Standalone browser distribution needs no web server.
- Supports ES modules and CommonJS in Node.
- Custom reporters, matchers and randomized spec order.
What to know first
- Older platforms may lose support in minor releases.
- Unmaintained karma-jasmine adapter depends on jasmine-core 4.x.
QUnit: what it does well
- Runs in browsers, Node.js, SpiderMonkey, and Web Workers.
- Browser releases have no runtime dependencies.
- Resets DOM fixtures after each test.
- Supports plugins and custom assertions.
- Browser runner can rerun selected tests or modules.
What to know first
- QUnit 3 ESM requires Node.js 18+.
- ESM browser support lists minimum browser versions.
- Project work is done by volunteers.
Alternatives to Jasmine Alternatives to QUnit The whole list
