What problem does it solve? Frappe apps often ship without adequate test coverage, leading to regressions, permission bugs, and broken workflows discovered only in production. This Skill provides structured guidance for writing and running unit, integration, and UI tests using Frappe's built-in testing framework. ## Core Features & Use Cases - DocType and API Testing: Write unit tests with FrappeTestCase, test validation errors, permissions, and whitelisted API methods with proper setup and teardown. - UI Testing with Cypress: Run end-to-end Desk interface tests via bench run-ui-tests with custom Cypress commands for form filling and list operations. - CI Pipeline Setup: Configure GitHub Actions, GitLab CI, or CircleCI workflows with MariaDB/Redis services, coverage reporting, and test matrices. - Use Case: You added a new DocType controller with validation logic. Use this Skill to generate a test class covering creation, validation failures, and role-based permission checks, then run it with bench --site test_site run-tests --doctype "My DocType". ## Quick Start Write unit tests for my Frappe app's Sales Order DocType covering validation and permission checks, then show me how to run them with bench.