Skip to content
hegeldevPublic

About

Resources

Contributing

Stars

54 stars

Watchers

0 watching

Forks

Repository files navigation

Hegel

Important

Hegel is in beta, and we'd love for you to try it and report any feedback. See https://hegel.dev/compatibility for details on what may still change.

Hegel is a family of property-based testing libraries inspired by Hypothesis. It provides a core library, libhegel, that implements the property-based testing engine, and frontends that use that library to provide high quality and idiomatic property-based testing libraries for a variety of languages.

This is the Hegel monorepo that includes the engine and (currently only some of) our officially supported frontends. Specifically, right now it contains:

Component Path What it is
libhegel libhegel/ The engine, with a C ABI. Published as prebuilt libraries on GitHub releases and as the hegeltest-c crate.
Hegel for Rust frontends/rust/ The hegeltest crate.
Hegel for Python frontends/python/ The hegeltest package, imported as hegel.
Hegel for TypeScript frontends/typescript/ The @hegeldev/hegel package, for Node, Bun, Deno and browsers.
Hegel for C++ frontends/cpp/ The hegel CMake library, fetched from this repository with FetchContent.
Hegel for Java frontends/java/ The dev.hegel:hegel (Java 22+) and dev.hegel:hegel-jna (Java 17+) artifacts on Maven Central.
Hegel for C# and F# frontends/csharp/ The Hegel NuGet package, for .NET 8 and later, and Hegel.FSharp on top of it for F#.
Hegel for OCaml frontends/ocaml/ The hegel opam package, with its ppx_hegel_generator and ppx_hegel_test PPXes.

Each component is versioned and released independently; releases are tagged <path>/<version>, for example libhegel/0.47.1, frontends/rust/0.50.1, frontends/python/0.1.0, frontends/typescript/0.4.10, frontends/cpp/0.13.1, frontends/java/0.10.2, frontends/csharp/0.2.0 or frontends/ocaml/0.26.4.

See CONTRIBUTING.md to get started.

About

Resources

Contributing

Stars

54 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages