property-based-test-generator

Community

Uncover edge cases, test with confidence.

AuthorDexploarer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Traditional unit tests often miss subtle edge cases, leading to unexpected bugs in production. This Skill generates property-based tests that automatically explore a vast range of inputs, finding flaws that manual testing might overlook.

Core Features & Use Cases

  • Multi-Language Support: Generates property tests for Python (Hypothesis) and JavaScript/TypeScript (fast-check).
  • Invariant Validation: Focuses on testing fundamental properties (invariants) of functions, such as idempotence, inverse relationships, and commutativity.
  • Use Case: "Generate property-based tests for my sortArray function in Python, ensuring it preserves length, maintains order, and contains the same elements."

Quick Start

Generate Hypothesis property tests for my Python reverse_string function, verifying that double-reversing returns the original string.

Dependency Matrix

Required Modules

hypothesispytestfast-check@types/jestvitest

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: property-based-test-generator
Download link: https://github.com/Dexploarer/claudius-skills/archive/main.zip#property-based-test-generator

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