generate_test
Generate Pest tests for Livewire components with auth, validation, and database assertions. Specify component name and fields to create comprehensive test coverage.
Instructions
Generate comprehensive Pest tests for Livewire components with auth, validation, and database assertions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | ||
| hasAuth | No | ||
| hasEdit | No | ||
| hasDelete | No | ||
| modelClass | No | ||
| componentName | Yes | Component name e.g. 'Post.Create' | |
| hasValidation | No |