laravel test don’t recognize new tests

  laravel, php, phpunit, testing

i’m new with the tests in Laravel (7.x), i create two feature tests, but the seconds don’t run with php artisan test

my UserTest.php


namespace TestsFeature;

use IlluminateFoundationTestingRefreshDatabase;
use IlluminateFoundationTestingWithFaker;
use TestsTestCase;

class UserTest extends TestCase
     * A basic feature test example.
     * @test
     * @return void
    public function an_authtenticated_user_can_get_own_details()
        $response = $this->get('/');


and my console log

Warning: TTY mode is not supported on Windows platform.

   RUNS  [2mTestsFeature[22mLoginTest
  • [2ma registered user can login[22m

  Tests:  [2m2 pending[22m


Source: Laravel

Leave a Reply