testing-expert

Run PHPUnit tests, PHPStan analysis, and code style checks in FacturaScripts.

7|2|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/FacturaScripts/fs-claude-plugin --skill testing-expert-facturascripts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing-expert
Source: https://github.com/FacturaScripts/fs-claude-plugin/tree/main/fs-dev/skills/testing-expert
Command: npx skills add https://github.com/FacturaScripts/fs-claude-plugin --skill testing-expert-facturascripts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires php, PHPUnit, PHPStan, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill solves the problem of ensuring high code quality and comprehensive testing in the FacturaScripts ERP by providing a comprehensive suite of testing and quality assurance tools.

Core Features & Use Cases

  • Testing Expertise: Specializes in PHPUnit testing, PHPStan analysis, and code style verification.
  • Automated Test Creation: Generates PHPUnit tests for models and controllers based on existing code.
  • Quality Assurance: Performs static analysis with PHPStan and CS-Check, and diagnostics for plugin errors.

Quick Start

Use the testing-expert agent to write a PHPUnit test for the 'Proyecto' model.

Frequently Asked Questions about testing-expert

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

FAQPage Schema
How do I write a PHPUnit test for a FacturaScripts model or controller?

To write a PHPUnit test for FacturaScripts, use this Skill to generate automated test cases for models and controllers based on existing code. It specializes in creating comprehensive PHPUnit testing suites for the FacturaScripts ERP.

Does FacturaScripts support PHPStan static analysis and code style verification?

Yes, FacturaScripts supports PHPStan static analysis and CS-Check code style verification. This Skill implements these quality assurance tools to perform diagnostics and ensure high code quality across models, controllers, and plugins.

What do I need to run PHPUnit tests and static analysis in FacturaScripts?

You need PHP, PHPUnit, and PHPStan installed in your environment to run tests and static analysis in FacturaScripts. These dependencies are required to execute the automated testing and code quality verification processes.

Can I use this Skill to run code quality checks on FacturaScripts plugins?

Yes, you can run code quality checks on FacturaScripts plugins. This Skill performs static analysis with PHPStan and CS-Check, and specifically provides diagnostics for plugin errors to ensure comprehensive testing and quality assurance.

What is the best way to ensure code quality in a FacturaScripts ERP project?

The best way to ensure code quality in FacturaScripts is by implementing PHPUnit testing, PHPStan static analysis, and code style verification. This Skill provides a comprehensive suite of testing and quality assurance tools to achieve this.