Generate comprehensive Pest 4 tests for Laravel authorization policies, ensuring all permission gates, role-based access controls, and authorization scenarios are thoroughly tested.
/plugin marketplace add mwguerra/claude-code-plugins/plugin install mwguerra-test-automation-test-automation@mwguerra/claude-code-plugins# guerra:test-policies ## Command Overview Generate comprehensive Pest 4 tests for Laravel authorization policies, ensuring all permission gates, role-based access controls, and authorization scenarios are thoroughly tested. ## Syntax ## Options - `--policy=<name>` - Generate tests for specific policy - `--model=<name>` - Generate policy tests for specific model - `--all` - Generate tests for all policies - `--roles` - Include role-based testing scenarios - `--gates` - Include gate authorization tests - `--middleware` - Include middleware authorization tests - `--force` - Overwrite exis...