Property | Type | Description | |
---|---|---|---|
$providers | array | Array of service providers should be loaded before tests. | |
$skipProvidersFor | array | Array of test case which should not load the service providers. |
Method | Description | |
---|---|---|
assertUsingTrait ( string $trait, mixed $instance ) | Assert if the instance or classname uses a trait. | |
migrate ( string | array $path = null ) | Performs migrations. | |
resourcePath ( string $path = null ) : string | Get the resources path. | |
seed ( string | array $seeder = 'DatabaseSeeder' ) | Seed database. | |
srcPath ( string $path = null ) : string | Get source package path. | |
stubsPath ( string $path = null ) : string | Stubs path. |
Method | Description | |
---|---|---|
getEnvironmentSetUp ( Illuminate\Foundation\Application $app ) : void | Define environment setup. | |
getPackageProviders ( Illuminate\Foundation\Application $app ) : array | Get package providers. | |
parseSubPath ( string $path ) : string | Trim slashes of path and return prefixed by DIRECTORY_SEPARATOR. |
public assertUsingTrait ( string $trait, mixed $instance ) | ||
$trait | string | Name of the trait (namespaced) |
$instance | mixed | Instance or name of the class |
protected getEnvironmentSetUp ( Illuminate\Foundation\Application $app ) : void | ||
$app | Illuminate\Foundation\Application | |
return | void |
protected getPackageProviders ( Illuminate\Foundation\Application $app ) : array | ||
$app | Illuminate\Foundation\Application | |
return | array |
protected parseSubPath ( string $path ) : string | ||
$path | string | |
return | string |
public resourcePath ( string $path = null ) : string | ||
$path | string | |
return | string |
protected array $providers | ||
return | array |
protected array $skipProvidersFor | ||
return | array |