wf-laravel-domain-resolution-testing

Classify Laravel tenant resolution tests into web and mobile contexts.

Updated Nov 7, 2025
One-click install
npx skills add https://github.com/belluga/delphi-ai --skill wf-laravel-domain-resolution-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wf-laravel-domain-resolution-testing
Source: https://github.com/belluga/delphi-ai/tree/main/skills/wf-laravel-domain-resolution-testing
Command: npx skills add https://github.com/belluga/delphi-ai --skill wf-laravel-domain-resolution-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensure tests that depend on tenant resolution clearly distinguish web (host/domains) from mobile (X-App-Domain + app_domains).

Core Features & Use Cases

  • Classify tests by web vs mobile tenant resolution
  • Enforce header usage and domain/app_domains as appropriate
  • Provide deterministic helper commands to audit and split tests
  • Document classification in test setup and comments

Quick Start

Classify existing Laravel tenant-resolution tests into web and mobile paths and update tests to reflect web vs mobile resolution pathways.

Frequently Asked Questions about wf-laravel-domain-resolution-testing

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

FAQPage Schema
How do I separate Laravel tenant resolution tests for web and mobile contexts?

To separate Laravel tenant resolution tests, classify existing tests into web host domain contexts and mobile X-App-Domain contexts, then update test setups to enforce correct domain or app_domains pathways based on their classification.

What is tenant resolution testing in a multi-domain Laravel application?

Tenant resolution testing in a multi-domain Laravel application validates that feature tests correctly distinguish web requests using host domains from mobile requests using X-App-Domain headers mapped to app_domains.

How do I audit existing PHPUnit tests for mobile X-App-Domain header usage?

You can audit PHPUnit tests for mobile X-App-Domain usage by running a deterministic helper script that scans test files, identifies tenant resolution pathways, and documents whether tests properly enforce web or mobile domain contexts.

Does this Laravel testing approach require a specific tenant resolution classification workflow?

Yes, this approach requires a defined classification workflow to systematically evaluate test setups, determine whether they target web host domains or mobile app_domains, and update them to reflect distinct resolution pathways.

Why do my Laravel feature tests fail when switching between host domains and app_domains?

Laravel feature tests fail when switching contexts if they lack explicit classification, causing incorrect tenant resolution; separating tests by web host domains and mobile X-App-Domain headers ensures correct domain routing behavior.