hypothesis

Official

Automate robust testing with property-based tests.

Authoranam-org
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Hypothesis automates the generation of diverse test inputs and shrinking of failing cases to help you find and fix edge cases quickly, improving test coverage and reliability.

Core Features & Use Cases

  • Property-based testing to systematically explore input spaces and verify invariants
  • Stateful testing with rule-based state machines
  • Pytest integration; Polars integration enables dataframe-oriented property tests

Quick Start

Install Hypothesis and start writing tests using given strategies to automatically generate inputs and verify properties. For example, test that a function preserves invariants across a broad input space, or create composite strategies to build structured inputs for your code.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: hypothesis
Download link: https://github.com/anam-org/metaxy/archive/main.zip#hypothesis

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.