laraveldaily-testing-audit

Audit Laravel test suites for coverage gaps and quality issues.

132|33|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/LaravelDaily/AI-Workflows-For-Laravel --skill laraveldaily-testing-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: laraveldaily-testing-audit
Source: https://github.com/LaravelDaily/AI-Workflows-For-Laravel/tree/main/skills/laraveldaily-testing-audit
Command: npx skills add https://github.com/LaravelDaily/AI-Workflows-For-Laravel --skill laraveldaily-testing-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses gaps in Laravel test suites by identifying missing coverage for critical features, poor testing practices, and areas risking production bugs, ensuring robust application protection without over-testing trivial code.

Core Features & Use Cases

  • Critical Path Analysis: Scans for untested authentication, payments, and main endpoints, prioritizing high-impact gaps.
  • Practice Review: Detects issues like happy-path-only tests, hardcoded data, and unfaked side effects, with framework-specific suggestions for Pest or PHPUnit.
  • Use Case: For a Laravel e-commerce app, it reveals no tests for payment flows or invalid form submissions, suggesting smoke tests and validation assertions to prevent revenue loss.

Quick Start

Audit the testing quality of my Laravel project by scanning the tests, app, and routes directories.

Frequently Asked Questions about laraveldaily-testing-audit

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

FAQPage Schema
How do I audit my Laravel test suite for coverage gaps?

To audit a Laravel test suite, scan PHP files in the tests, app, and routes directories to identify missing critical paths, sad path coverage, and data handling issues. This process generates structured reports with severity-based findings and actionable suggestions.

What are common Laravel testing practices that lead to production bugs?

Common poor Laravel testing practices include writing happy-path-only tests, using hardcoded data, and leaving side effects unfaked. Identifying these issues helps prevent production bugs in high-impact areas like payment flows.

Does this testing audit work with both Pest and PHPUnit frameworks?

Yes, the testing audit supports both Pest and PHPUnit frameworks. It scans your Laravel project to provide framework-specific suggestions tailored to the testing practices used in your PHP codebase.

How do I find untested critical paths in my Laravel application?

You find untested critical paths by scanning your Laravel application for untested authentication, payments, and main endpoints. This targeted analysis prioritizes high-impact coverage gaps to prevent revenue loss.

Can I scan Laravel routes and app directories for missing test coverage?

Yes, you can scan Laravel routes and app directories for missing test coverage. The audit specifically targets these directories alongside your tests directory to detect untested critical features and poor data handling.