Testickle
Testickle is a blazing faster typescript/javascript test runner
It is a new approach on testing frameworks, which focuses on speed and decoupling testing.
Features
- Zero config
- Out of the box typescript support
- Blazing fast browser testing with real dom
- Bring your own test api
Benchmarks
- 12x faster than Jest
- 10x faster than Vitetest
bench on master [!] ➜
hyperfine --warmup 2 --min-runs 5 -p "pnpm jest --clearCache" "./node_modules/jest/bin/jest.js suites/jest/" -n jest -n testickle -n vitetest "estester suites/modfy-tester/index.test.ts suites/modfy-tester/second.test.ts" "node ./node_modules/vitest/dist/cli.js suites/vite/ --run"
Benchmark 1: jest
Time (mean ± σ): 1.556 s ± 0.012 s [User: 2.186 s, System: 0.710 s]
Range (min … max): 1.535 s … 1.564 s 5 runs
Benchmark 2: testickle
Time (mean ± σ): 172.3 ms ± 28.3 ms [User: 105.7 ms, System: 26.4 ms]
Range (min … max): 143.9 ms … 215.6 ms 5 runs
Benchmark 3: vitetest
Time (mean ± σ): 1.291 s ± 0.026 s [User: 2.063 s, System: 0.217 s]
Range (min … max): 1.247 s … 1.309 s 5 runs
Summary
'testickle' ran
7.49 ± 1.24 times faster than 'vitetest'
9.03 ± 1.48 times faster than 'jest'