LogoClawIndex
CasesSkillsAbout
LogoClawIndex

python-testing - Apply pytest and TDD testing patterns

Provides Python testing strategies with pytest, TDD, fixtures, mocking, parametrization, markers, and coverage practices.

Tags

Updated: 2026-10-05
PythonpytestTDDtest automationmockingfixturescode coverage

Capabilities

Write failing testsImplement passing codeRefactor tested codeCreate pytest fixtures

Typical Inputs

Python application codeDesired behaviorsTest requirements

Typical Outputs

Pytest test suitesTest execution resultsCoverage reports

What this skill does

  • Write failing tests
  • Implement passing code
  • Refactor tested code
  • Create pytest fixtures
  • Parametrize test cases
  • Mock external dependencies
  • Select tests with markers
  • Measure code coverage
  • Review test coverage
  • Set up test infrastructure

Inputs

  • Python application code
  • Desired behaviors
  • Test requirements
  • Coverage targets
  • External dependency behaviors

Outputs

  • Pytest test suites
  • Test execution results
  • Coverage reports
  • Configured fixtures and markers

Requirements

  • Python environment
  • pytest
  • pytest coverage support

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.