Laravel - Getting Started - The Creates Application Trait
Laravel includes a CreatesApplication
trait that is applied to your application's base TestCase
class. This trait contains a createApplication
method that bootstraps the Laravel application before running your tests. It's important that you leave this trait at its original location as some features, such as Laravel's parallel testing feature, depend on it.