$ npm install -g veve
Or use the wizard
$ npx veve-setup
import { assert } from "veve";
it("should add two numbers", () => {
const add = (a: number, b: number): number => a + b;
// Enjoy TypeScript autocomplete!
assert(add(1, 2)).toBe(3);
});
run();
$ veve
No additional steps—just fast, type-safe tests.
- Type-Safe: Fully integrated with TypeScript.
- Bring Your Own Assertion Library: Use the built-in assertions or your favorite library.
- Fast and Lightweight: Minimal yet powerful.
- Isolation: Complete control with customizable VM contexts and esbuild plugins.
- Simple Setup: Zero config.
- No Top-Level Await: Currently unsupported.
-
No Built-In Mocking: Encourages the use of libraries like
proxyquire
. - No Snapshots: This feature is planned for future versions.
- GitHub: https://github.com/solo-fox/veve
- Homepage: https://veveoss.vercel.app
PRs are welcome! For feature requests or bug reports, feel free to open an issue on GitHub. Let's build the best testing framework together!