Dusk with the --filter option returns "No tests executed!" - Laravel

Asked

Viewed 14 times

0

I am with a project Laravel 8, I created a test with the command php Artisan make:testTwo, however when I try to run it with --filter returns me: inserir a descrição da imagem aqui

Test code generated with make

<?php

namespace Tests\Browser;

use Illuminate\Foundation\Testing\DatabaseMigrations;
use Laravel\Dusk\Browser;
use Tests\DuskTestCase;

class testTwo extends DuskTestCase
{
    /**
     * A Dusk test example.
     *
     * @return void
     */
    public function testExample()
    {
        $this->browse(function (Browser $browser) {
            $browser->visit('/')
                    ->assertSee('Laravel');
        });
    }
}

P.S.: I have tested by setting the route, the file name, pretty much everything, it doesn’t work... someone has already gone through this?

  • Your question has been answered on the English website https://stackoverflow.com/q/67707047/4623423

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.