Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/drwpow/js-test-runners

[WIP] Comparison of current JS test runners, and their readiness for ESM
https://github.com/drwpow/js-test-runners

Last synced: 9 days ago
JSON representation

[WIP] Comparison of current JS test runners, and their readiness for ESM

Awesome Lists containing this project

README

        

## Stats

| Runner | % Usage¹ | Weekly Downloads² | # Projects³ | Created | Version | ESM? | Bundlephobia |
| :------------------- | -------: | ----------------: | ----------: | :-------- | :--------------- | :--: | -----------: |
| [AVA][ava] | `63%` | `226358` | `49601` | `2018-01` | `3.x` (2020-03) | ✅ | ? |
| [Node Tap][node-tap] | — | `90920` | `19714` | `2014-05` | `14.x` (2020-03) | ✅ | ? |
| [Jest][jest] | `96%` | `7432341` | `1782119` | `2014-05` | `25.x` (2020-03) | ❌ | `2100 KB` |
| [Mocha][mocha] | `78%` | `4390660` | `994582` | `2011-11` | `7.x` (2020-03) | | `175 KB` |
| [Jasmine][jasmine] | `67%` | `1650021` | `1206895` | `2009-08` | `3.x` (2019-09) | | `122 KB` |
| [Chai][chai] | — | `3611715` | `732601` | `2011-12` | `4.x` (2018-09) | ❌ | `56 KB` |
| [tape][tape] | — | `635427` | `143621` | `2012-12` | `4.x` (2020-03) | | `38 KB` |

¹ State of JS 2019 survey: % of participants who use it regularly
² downloads on npm (2020-04-02)
³ public repos on GitHub with this listed as a dependency (2020-04-02)

## ESM Feature Support

| Runner | Basic Modules | Remote `import` |
| :------------------- | :-----------: | :-------------: |
| [AVA][ava] | ✅ | ❌ |
| [Node Tap][node-tap] | | |
| [Jest][jest] | | |
| [Mocha][mocha] | | |
| [Jasmine][jasmine] | | |
| [Chai][chai] | | |
| [tape][tape] | | |

[ava]: https://github.com/avajs/ava
[chai]: https://www.chaijs.com/
[jasmine]: https://jasmine.github.io/
[jest]: https://jestjs.io/
[mocha]: https://mochajs.org/
[node-tap]: https://node-tap.org
[tape]: https://github.com/substack/tape