python-test

Community

Scaffold pytest tests for pyarnes projects.

AuthorCognitivemesh
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Scaffolds pytest-based tests for a pyarnes-based project that ships without a tests/ directory, enabling developers to quickly bootstrap unit tests and BDD features while preserving pyarnes conventions (async-first, Red → Green → Refactor, and loguru-based logging in tests).

Core Features & Use Cases

  • Bootstrap a tests tree on first use: tests/, tests/init.py, tests/conftest.py, and tests/unit/ with an initial test file
  • BDD scaffolding: create tests/features/ with feature files and steps
  • Unit-test skeleton: generate tests/unit/test_<target>.py that follows async-first patterns and dataclass fakes, mirroring pyarnes testing conventions
  • Enforce conventions: maintain pyarnes-style workflows (Arrange → Act → Assert, hypothesis usage where appropriate)

Quick Start

Run the test task to execute the new test scaffold and begin the red–green–refactor workflow.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: python-test
Download link: https://github.com/Cognitivemesh/pyarnes/archive/main.zip#python-test

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.