veve
TypeScript icon, indicating that this package has built-in type declarations

1.1.15 • Public • Published

Veve Banner

npm version License Downloads PRs Welcome Contributors Node.js Version veve status

A zero-config, type-safe, TypeScript-native testing framework and runner!


Install

$ npm install -g veve

Or use the wizard

$ npx veve-setup

🚀 Quick Start

Step 1: Write Your Tests in TypeScript

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();

Step 2: Run veve

$ veve

Step 3: Celebrate Your Simplicity! 🎉

No additional steps—just fast, type-safe tests.


🌟 Features

  • 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.

🔒 Limitations

  • 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.

📚 Resources


🛠 Contributing

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!

Package Sidebar

Install

npm i veve

Weekly Downloads

9

Version

1.1.15

License

MIT

Unpacked Size

162 kB

Total Files

39

Last publish

Collaborators

  • tinytools-oss