LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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.

pytest - Pytest testing patterns for Python

Provides patterns for writing Python pytest tests, including fixtures, mocking, parametrization, markers, async tests, and CLI commands.

Tags

Updated: 2026-09-14

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Write basic pytest test structures
  • Configure pytest fixtures and conftest
  • Mock objects and functions
  • Parametrize test functions
  • Apply pytest markers
  • Write async pytest tests
  • Execute pytest CLI commands

Inputs

  • Python test code
  • Test parameters and assertions

Outputs

  • Pytest test cases
  • Fixture definitions
  • Pytest execution commands

Requirements

  • Python environment
  • pytest library

Source

  • Spec: SKILL.md
pytest
python
testing
fixtures
mocking
parametrize
Write basic pytest test structures
Configure pytest fixtures and conftest
Mock objects and functions
Parametrize test functions
Python test code
Test parameters and assertions
Pytest test cases
Fixture definitions
Pytest execution commands