Communityv0.1.0

Clean Pytest

Write clean, maintainable pytest tests using Fake-based testing, contract testing, and dependency injection patterns. Use when setting up test suites for Pyt...

1.3kdownloads6active installsMarco Borges
View on ClawHubBack to Skills

Skill Details

Slug
clean-pytest
Latest Version
0.1.0
Author
Marco Borges
Published
Feb 21, 2026
Updated
May 11, 2026
Total Versions
1

How to Install

  1. 1 on OpenClawdBots (takes under 60 seconds).
  2. 2Open your bot dashboard and go to the Skills tab.
  3. 3Switch to the ClawHub tab and search for Clean Pytest.
  4. 4Click Install and the skill is deployed to your bot automatically.

Changelog — v0.1.0

Initial release of clean-pytest. - Introduces guidelines and patterns for writing clean, maintainable pytest tests in Python/MCP projects. - Emphasizes using Fake-based testing over mocks for better readability and isolation. - Documents explicit Arrange-Act-Assert (AAA) structure for all tests. - Provides recommended fixture organization, including dependency injection and environment setup. - Describes contract testing, layered architecture patterns, and strategies for error testing using fakes. - Includes code examples for creating custom Fake classes and writing clear, reusable pytest fixtures.