extend(TestCase::class) ->use(RefreshDatabase::class) ->in('Feature', '../Modules/*/Tests/Feature'); /* |-------------------------------------------------------------------------- | Expectations |-------------------------------------------------------------------------- */ expect()->extend('toBeOne', function () { return $this->toBe(1); }); /* |-------------------------------------------------------------------------- | Functions |-------------------------------------------------------------------------- */ function something() { // .. }