smousss / laravel-pestifize
Convert PHPUnit tests to Pest 2 using GPT-4.
0.1.3
2023-04-26 17:01 UTC
Requires
- php: ^8.1
- illuminate/contracts: ^9.0|^10.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- guzzlehttp/guzzle: ^7.5
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
README
Convert all your tests from PHPUnit to Pest 2
Smousss Pestifize converts every PHPUnit test you have to Pest 2. In other words, it makes your tests more readable, maintainable and less verbose in a matter of seconds.
Installation
Install the package via Composer:
composer require smousss/laravel-pestifize --dev
Publish the config file:
php artisan vendor:publish --tag=pestifize-config
Usage
First, generate a secret key on smousss.com.
Then, start migrating your PHPUnit tests to Pest 2:
php artisan smousss:pestifize
Credit
Pestifize for Laravel has been developed by Benjamin Crozat for Smousss (Twitter).