# clean-pytest

> clean-pytest — marcoracer-clean-pytest. Use this tool when you need to write reliable and maintainable tests for your Python applications, and want to simplify test setup and teardown using Fake-based testing, contract testing, and dependency injection patterns. It solves problems of test complexity and fragility by providing a structured approach to testing, accepting test code as input and producing clean, readable test outputs. Ideal for use in development environments where test maintainability and readability are crucial.

Canonical page: https://skillsregistry.net/skills/marcoracer-clean-pytest  
JSON: https://api.skillsregistry.net/v1/skills/marcoracer-clean-pytest

## Description

Write clean, maintainable pytest tests using Fake-based testing, contract testing, and dependency injection patterns.

## Trust

- **Trust score (0–1):** 1.00
- **Verification tier:** scanned
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** instructions
- **Runtime environment:** llm
- **Category:** other
- **Updated:** 2026-09-25

## Source

- **Source listing:** [ClawHub](https://clawskills.sh/skills/marcoracer-clean-pytest)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "marcoracer-clean-pytest"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/marcoracer-clean-pytest` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/marcoracer-clean-pytest/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
