Hegel: The Hypothesis Creator's New Property-Based Testing Framework Goes Multi-Language

Available in: 中文
2026-03-25T11:11:29.788Z·1 min read
Hegel is a new multi-language property-based testing framework from the creator of Hypothesis, now available for Rust with Go, C++, OCaml, and TypeScript coming soon, integrating with Antithesis's deterministic testing platform.

From Hypothesis to Hegel: Property-Based Testing Evolves

The creator of Hypothesis, one of the most influential property-based testing libraries in the Python ecosystem, has joined Antithesis and introduced Hegel — a new family of property-based testing libraries designed to work across multiple programming languages and seamlessly integrate with Antithesis's deterministic testing infrastructure.

What is Hegel?

Hegel brings the quality of property-based testing found in Hypothesis to every language. Instead of writing concrete test cases, developers specify properties that should hold for any valid input, and the library automatically generates test inputs to find violations.

Language Support

Key Capabilities

Real-World Bug Discoveries

Hegel for Rust has already found real bugs in production crates, including a panic in the fraction crate's from_str method when parsing "0/0", and an incorrect zero-handling bug in rust_decimal's scientific notation conversion.

Why It Matters

Property-based testing has been transformative in functional programming communities but adoption in mainstream development has been limited by language-specific implementations. Hegel's multi-language approach could significantly broaden adoption, especially in systems programming where Rust and C++ are dominant.

↗ Original source · 2026-03-25T00:00:00.000Z
← Previous: LiteLLM versions 1.82.7 and 1.82.8 compromised on PyPI — Supply Chain AttackNext: Sora Shuts Down: OpenAI's AI Video Generation Service Comes to an End →
Comments0