Fonte oficial no Laravel
AttributeIlluminate\Foundation\Testing\Attributes\Seed

#[Seed]

Atributo para configurar a semente de testes no grupo Foundation / Testing.

Disponível desde

Laravel 13.0

Aplicável em

class

Parâmetros

Nenhum parâmetro obrigatório ou opcional.

Uso prático

use Illuminate\Foundation\Testing\Attributes\Seed;

#[Seed]
class TestService {
    // Test setup
}