Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] Adds --pest option when using the make:test artisan command #38966

Merged
merged 2 commits into from
Sep 27, 2021
Merged

[8.x] Adds --pest option when using the make:test artisan command #38966

merged 2 commits into from
Sep 27, 2021

Conversation

lukeraymonddowning
Copy link
Contributor

Howdy!

This PR adds support for Pest PHP when generating tests by adding a --pest option to the php artisan make:test command. To support this, two new stubs have been added, one for Pest feature tests and the other for Pest unit tests. These match the functionality of the existing PhpUnit tests, but are written in Pest (obviously).

This addition to the framework allows Pest to feel more "at home" as a citizen in Laravel as its popularity continues to grow.

Thanks for all your hard work.

Kind Regards,
Luke

@taylorotwell taylorotwell merged commit 02da36c into laravel:8.x Sep 27, 2021
crynobone added a commit to orchestral/canvas that referenced this pull request Sep 27, 2021
Ref: laravel/framework#38966

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
victorvilella pushed a commit to cdsistemas/framework that referenced this pull request Oct 12, 2021
…laravel#38966)

* Adds `--pest` as an option when using the `make:test` command.

* Adds `--pest` as an option when using the `make:test` command.
@lukeraymonddowning lukeraymonddowning deleted the test_pest_option branch April 17, 2023 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants