LogoClawIndex
CasesSkillsAbout
LogoClawIndex

test-principles - Python Testing Principles Reference

Provides catalog-level rules for Python test layers, fixture placement, substitutions, assertions, HTTP interception, datastore contracts, and defect fixes.

Tags

Updated: 2026-12-02
Pythontestingpytesttest architecturefixturesHTTP interceptiondatastore contracts

Capabilities

Apply testing layer budgetsPlace tests and fixturesSelect substitution strategiesEnforce no-mocks rules

Typical Inputs

Python project structureTest subject and layerTest runner configuration

Typical Outputs

Testing guidance

What this skill does

  • Apply testing layer budgets
  • Place tests and fixtures
  • Select substitution strategies
  • Enforce no-mocks rules
  • Strengthen test assertions
  • Intercept HTTP requests
  • Define datastore contracts
  • Preserve test reliability
  • Start fixes with failing tests

Inputs

  • Python project structure
  • Test subject and layer
  • Test runner configuration
  • Collaborator boundaries
  • Datastore boundaries

Outputs

  • Testing guidance

Requirements

    Source

    • Spec: SKILL.md

    ClawIndex

    OpenClaw Skills & Use Case Index

    ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

    Index

    Skills·
    Cases

    Meta

    About·
    Disclaimer·
    Email·
    GitHub
    © 2026 ClawIndex All Rights Reserved.