grmpyprogrammer, 3 months ago For #laravel folks who are using Pest for tests — what is the equivalent of using the RefreshDatabase and TestDatabase traits? #php
For #laravel folks who are using Pest for tests — what is the equivalent of using the RefreshDatabase and TestDatabase traits? #php
Konafets, 3 months ago @grmpyprogrammer Wondering which usecase Pest fills PHPUnit can‘t.
@grmpyprogrammer Wondering which usecase Pest fills PHPUnit can‘t.
grmpyprogrammer, 3 months ago @Konafets None really
@Konafets None really
jclermont, 3 months ago @grmpyprogrammer I still use PHPUnit, but in Pest there's a uses global function for configuring the base test class and traits Something like: uses(TestCase::class, RefreshDatabase::class)->in('Feature');
@grmpyprogrammer I still use PHPUnit, but in Pest there's a uses global function for configuring the base test class and traits
uses
Something like: uses(TestCase::class, RefreshDatabase::class)->in('Feature');
Add comment