Skip to content

justanotherdot/typescript-hedgehog

Repository files navigation

typescript-hedgehog

Property-based testing library for TypeScript with high-performance WASM optimization.

Workspace structure

This is a npm workspace containing:

  • @justanotherdot/hedgehog - Main property-based testing library (README)
  • @justanotherdot/hedgehog-splitmix-wasm - WebAssembly bindings for SplitMix64 PRNG (README)

Development

Building

npm run build:all    # Build all packages
npm run build        # Build main package only
npm run build:wasm   # Build WASM package only

Testing

npm test             # Run tests
npm run test:watch   # Run tests in watch mode

Code quality

npm run lint         # Lint code
npm run lint:fix     # Fix linting issues
npm run typecheck    # Type checking

Benchmarks

npm run bench        # Run benchmarks

Release

npm run release      # Create and publish release

Requirements

  • Node.js ≥20.16.0
  • For WASM compilation: Rust toolchain with wasm-pack

Usage

See packages/hedgehog/README.md for complete documentation, examples, and API reference.

License

BSD-3-Clause

About

Hedgehog eats your bugs.

Resources

Stars

Watchers

Forks

Packages

No packages published