Peeky

A fast and fun test runner for Vite & Node 🐈️

Screenshot

🚀️ Fast

Peeky is built from the ground up for optimal performance. Run test faster!

🔧️ No-config

Sane defaults, with extensive configuration if needed.

😻️ Fun

The included UI makes running tests fun again! Hack it with the API!

🖥️ Node support

Test your Node.js libraries and apps, with native ESM support!

⚡️ Vite powered

Seamlessly integrate with your Vite app. TypeScript support included.

🌐️ Web apps

Test your web apps and components made with React, Vue, Angular, etc.

Features

CLI
Run tests from command line
GUI
Run and monitor tests in a visual experience
Fast build
Build files very quickly thanks to Vite
Parallel
Run tests in multiple workers by default
Typescript
Peeky supports Typescript out-of-the-box, no configuration required!
BDD
Write expressive assertions with Expect (Jest compatible)
Spies & mocks
Check if functions are called or mock objects with Sinon
Module mocks
Mock module imports with custom implementations
Files Auto-stub
Don't write actual files to the disk during test builds & runs!
Watch
Watch and automatically re-run tests depending on modified files
Config
Customize Peeky to your needs with a simple config file
Async/Promise support
Included full `async/await` support
Glob/Regex matching
Use globs and/or regular expressions to find test files
Dark mode
Rest your eyes with our hand-crafted dark theme in the UI
Web apps
Test your components
(React, Vue...)
GraphQL API
Hack Peeky with the builtin GraphQL server
Retries
Easily retries tests & assertions
wip
Plugins
Extend Peeky with third-party plugins
wip
Text Snaphots
Compare text snapshots such as rendered HTML or file content
wip

MIT Licensed | Copyright © 2021-present Guillaume Chau & Peeky Contributors