Generate TDD Tests

Generate TDD/BDD test suites for Frappe microservices using pytest conventions.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ATXINVOX/frappe-microservices-poc --skill generate-tdd-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Generate TDD Tests
Source: https://github.com/ATXINVOX/frappe-microservices-poc/tree/main/.cursor/skills/generate-tdd-tests
Command: npx skills add https://github.com/ATXINVOX/frappe-microservices-poc --skill generate-tdd-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of comprehensive TDD/BDD test suites for Frappe-based microservices, accelerating test coverage and adherence to testing standards.

Core Features & Use Cases

  • Generate TDD test templates for Doctypes and controllers following Frappe conventions
  • Validate tenant isolation, API endpoints, and permissions with pytest-based suites
  • Optional: generate BDD-style API tests when requested and integrate with pytest-bdd or behave

Quick Start

Run the tool to generate a complete TDD/BDD test suite scaffold for a Frappe-based microservice project.

Frequently Asked Questions about Generate TDD Tests

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

FAQPage Schema
How do I generate TDD test suites for Frappe microservices?

To generate TDD test suites for Frappe microservices, this tool automatically scaffolds comprehensive pytest-based templates covering Doctypes, controllers, API endpoints, and tenant isolation following standard FrappeTestCase conventions.

What is the best way to automate pytest test creation for Frappe Doctypes?

Automating pytest test creation for Frappe Doctypes is best handled by generating pytest-based suites that inherently adhere to Frappe testing conventions like set_user and teardown rollback, ensuring valid and isolated test execution.

Can I generate BDD-style API tests for my Frappe application?

Yes, you can generate BDD-style API tests for Frappe applications. The tool optionally creates BDD API tests and integrates them with pytest-bdd or behave alongside standard unit test fixtures.

Does this tool validate tenant isolation and API permissions in Frappe?

Yes, this tool validates tenant isolation and API permissions in Frappe by generating targeted pytest-based suites that explicitly test these security boundaries and endpoint restrictions within your microservices architecture.

Do I need to manually configure pytest fixtures for Frappe testing conventions?

You do not need to manually configure pytest fixtures for Frappe testing conventions. The tool supports automatic pytest configuration and generates necessary test fixtures, applying FrappeTestCase and rollback teardowns natively.