full-stack-erp-testing

Automate Laravel/Pest backend and Nuxt/Vitest frontend tests for multi-tenant ERP.

Updated May 15, 2026
One-click install
npx skills add https://github.com/pphatdev/erp-prompt --skill full-stack-erp-testing
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: full-stack-erp-testing
Source: https://github.com/pphatdev/erp-prompt/tree/main/rules/testing
Command: npx skills add https://github.com/pphatdev/erp-prompt --skill full-stack-erp-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures consistent automated testing across Laravel Pest (backend) and Nuxt Vitest (frontend) to maintain multi-tenant security and stable business logic in the ERP ecosystem.

Core Features & Use Cases

  • Unit & integration tests: Create isolated tests for services and composables, and API contracts for multi-tenant isolation.
  • End-to-end coverage: Validate critical business workflows (e.g., order to invoice) using Playwright to ensure real-user scenarios.
  • Tenancy safeguards: Verify cross-tenant access controls and data isolation in tests to prevent leakage.

Quick Start

Run backend Pest tests and frontend Vitest tests against a dedicated test environment to validate new features.

Frequently Asked Questions about full-stack-erp-testing

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

FAQPage Schema
How do I automate multi-tenant isolation testing in a Laravel and Nuxt ERP?▼

Multi-tenant isolation testing is automated by writing Pest tests for the Laravel backend and Vitest tests for the Nuxt frontend. This verifies cross-tenant access controls and data isolation to prevent leakage. Playwright handles end-to-end workflows.

What is the best way to test critical ERP workflows like order to invoice?▼

Testing critical ERP workflows like order to invoice is best handled using Playwright for end-to-end coverage. This validates real-user scenarios across the Nuxt frontend and Laravel backend, ensuring business logic remains stable.

Do I need a dedicated test database for Laravel Pest and Nuxt Vitest integration tests?▼

Yes, a dedicated test database is required for Laravel Pest and Nuxt Vitest integration tests. This ensures isolation and reliability when validating API contracts and multi-tenant data access controls during automated testing.

How does Playwright work with Vitest and Pest for full-stack ERP testing?▼

Playwright works with Vitest and Pest by handling end-to-end testing while Vitest and Pest manage unit and integration tests. Playwright validates critical frontend and backend workflows, whereas Pest and Vitest isolate services and composables.

Can I use Vitest to test API contracts for multi-tenant isolation in a Nuxt frontend?▼

Vitest tests API contracts for multi-tenant isolation by validating the Nuxt frontend interactions against the Laravel backend. It ensures data boundaries are maintained, while Pest handles the backend verification.

Why does multi-tenant ERP testing require separate frontend and backend test configurations?▼

Multi-tenant ERP testing requires separate configurations because the Laravel backend uses Pest and the Nuxt frontend uses Vitest. This separation ensures accurate unit, integration, and end-to-end coverage across distinct technology stacks.