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

[7.x] Uses Pest if available #771

Merged
merged 1 commit into from
May 6, 2020
Merged

Conversation

nunomaduro
Copy link
Member

In the future, if people install Pest in their Laravel applications, they most likely want to use it in their dusk tests too.

This pull request magically uses Pest if available, otherwise, it uses the default PHPUnit command.

Let me know if you prefer something more customizable like a config or something.

@taylorotwell taylorotwell merged commit f851f59 into laravel:master May 6, 2020
@@ -88,11 +88,15 @@ public function handle()
*/
protected function binary()
{
$command = class_exists(\Pest\Laravel\PestServiceProvider::class)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nunomaduro Can you send a pr that imports this class instead?

@nunomaduro nunomaduro deleted the patch-1 branch May 6, 2020 15:47
@driesvints driesvints changed the title [6.x] Uses Pest if available [7.x] Uses Pest if available Aug 3, 2021
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.

3 participants