smousss/laravel-pestifize

Convert PHPUnit tests to Pest 2 using GPT-4.

0.1.3 2023-04-26 17:01 UTC

This package is auto-updated.

Last update: 2024-10-26 20:09:58 UTC


README

Pestifize

Convert all your tests from PHPUnit to Pest 2

Latest Version on Packagist GitHub Tests Action Status Total Downloads

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).

License

MIT