·pytest-coder

Write pytest tests with fixtures, parametrization, mocking, async testing, and modern patterns. Use when creating or updating Python test files. Not for unittest — use standard library patterns instead.

23Installs·0Trend·@majesticlabs-dev

Installation

$npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill pytest-coder

How to Install pytest-coder

Quickly install pytest-coder AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill pytest-coder
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: majesticlabs-dev/majestic-marketplace.

SKILL.md

View raw

| AAA Pattern | Arrange-Act-Assert for every test | | Behavior over Implementation | Test what code does, not how | | Isolation | Tests must be independent | | Fast Tests | Mock I/O, minimize database hits | | Descriptive Names | Test name explains the scenario | | Coverage | Test happy paths AND edge cases |

| function | Per test (default) | Most fixtures | | class | Per test class | Shared setup within class | | module | Per module | Expensive setup shared by module | | session | Entire test run | Database connections, servers |

| Tests depend on order | Flaky, hard to debug | Use fixtures, isolate | | Testing implementation | Brittle tests | Test behavior | | Too many assertions | Hard to identify failure | One assertion per test | | No error case tests | Missing coverage | Test exceptions explicitly | | Slow unit tests | Slow feedback | Mock I/O, use in-memory DB |

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill pytest-coder
Category
</>Dev Tools
Verified
First Seen
2026-02-23
Updated
2026-03-11

Browse more skills from majesticlabs-dev/majestic-marketplace

Quick answers

What is pytest-coder?

Write pytest tests with fixtures, parametrization, mocking, async testing, and modern patterns. Use when creating or updating Python test files. Not for unittest — use standard library patterns instead. Source: majesticlabs-dev/majestic-marketplace.

How do I install pytest-coder?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill pytest-coder Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/majesticlabs-dev/majestic-marketplace