frappe-test

Generate pytest-compatible unit and integration tests for Frappe Framework v15 DocTypes and APIs.

15|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/sergio-bershadsky/ai --skill frappe-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frappe-test
Source: https://github.com/sergio-bershadsky/ai/tree/main/plugins/frappe-dev/skills/frappe-test
Command: npx skills add https://github.com/sergio-bershadsky/ai --skill frappe-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create comprehensive test suites for Frappe Framework v15 applications, enabling reliable tests and faster release cycles.

Core Features & Use Cases

  • Generate unit tests, integration tests, fixtures, and factory patterns for Frappe apps.
  • Provide pytest-compatible test classes, fixtures, and factories to streamline test development.
  • Use cases include adding test coverage to existing DocTypes, API endpoints, and services, as well as setting up test fixtures.

Quick Start

Run /frappe-test <target> to scaffold tests for your Frappe app.

Frequently Asked Questions about frappe-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a pytest test suite for a Frappe app?

To build a pytest test suite for a Frappe app, this Skill automatically generates pytest-compatible test classes, integration tests, fixtures, and factory patterns for DocTypes, APIs, and services.

Can I generate test fixtures and factories for Frappe DocTypes automatically?

Yes, you can generate test fixtures and factories for Frappe DocTypes automatically by applying this Skill to your data models, which produces the necessary factory patterns to support test-driven development.

What is the best way to add unit and integration test coverage to existing Frappe Framework v15 applications?

The best way to add test coverage to Frappe Framework v15 applications is to scaffold tests targeting your existing DocTypes and API endpoints, producing both unit tests and integration tests via bench commands.

Does this Frappe testing approach require a specific test harness to execute tests?

Yes, this Frappe testing approach requires integration with a test harness that can execute tests via bench commands to validate the generated pytest-compatible structures and factory patterns.

How do I scaffold tests for Frappe APIs and services using pytest?

You scaffold tests for Frappe APIs and services by running the Skill command against your target application, which outputs pytest-compatible unit tests, integration tests, and setup fixtures.