Overview# pUnit is a modernized unit-testing framework for Python, inspired by xUnit. Overview Quick Start Installation Usage The Test Package Test Discovery Test Filters Filters File Default Behavior Diagnosing Problems Writing Tests What is a Test? What is Test Failure? What is an Assertion? Facts and Theories Examples Reference punit.facts Example Fact fact() FactManager punit.results Example fails() punit.setups Scopes Example Setup setup() SetupManager punit.teardowns Scopes Example Teardown teardown() TeardownManager punit.theories Example Theory theory() inlinedata() TheoryManager punit.traits Example TraitManager Trait trait() punit.assertions collections exceptions numeric strings Sub-modules SKILL.rst Claude Code Skill — punit Overview Embedded Skill Markdown MIT License Contact