This changelog references the relevant changes (bug and security fixes) done to orchestra/testbench-core
.
Released: 2018-03-13
- Added
Orchestra\Testbench\Concerns\WithFactories::loadFactoriesUsing()
helper to load factories before$this->app
is available.
Released: 2017-02-20
- Fixes binding not overridden when trying to resolve providers and aliases.
Released: 2018-02-18
- Add
create-sqlite-db
command helper to assist using sqlite with Testbench.
- Allow to use
TestCase::loadLaravelMigrations()
without adding any parameters to use default database connection.
- Fixes invalid reference to
$overrides
onOrchestra\Testbench\Concerns\CreatesApplication::resolveApplicationProviders()
.
Released: 2018-02-07
- Add
Orchestra\Testbench\Concerns\Testing
trait for generic testingsetUp
andtearDown
helpers.
- Moves
Orchestra\Testbench\Traits
toOrchestra\Testbench\Concerns
for match Laravel coding style.
Released: 2018-01-06
- Update
Orchestra\Testbench\TestCase
to matchIlluminate\Foundation\Testing\TestCase
.
Released: 2017-12-25
- Update Laravel 5.5 skeleton.
- Reduce hash computations by setting the default rounds to
4
.
Released: 2017-10-08
- Revert loading custom bootstrapper before bootstrapping service provider. This is to allow configuration properly be configured from service provider before initiating custom bootstrapper.
Released: 2017-10-07
- Load bootstrapper from
Orchestra\Testbench\Traits\CreateApplications::getPackageBootstrappers()
before bootstrapping service providers.
Released: 2017-09-28
- Add mockery expectations to the assertion count. (@scrubmx)
- Don't enable auto discovery for every package.
Released: 2017-09-05
- Update Laravel skeleton and
Orchestra\Testbench\Exceptions\Handler
. - Add
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse
toOrchestra\Testbench\Http\Kernel
. (@kalfheim) - Allow to use
Illuminate\Foundation\Testing\RefreshDatabase
. (@BertvanHoekelen)
- Refresh named routes when declaring new routes from within a test method.
Released: 2017-08-30
- Add
getPackageBootstrappers()
method to load any bootstrap class specifically for a package. Orchestra\Testbench\TestCase
now preloads following traits:Illuminate\Foundation\Testing\Concerns\InteractsWithSession
.Illuminate\Foundation\Testing\Concerns\InteractsWithExceptionHandling
.
- Update support for Laravel Framework v5.5.
- Increase minimum PHP version to 7.0+ (tested with 7.0, 7.1 and 7.2).
- Increase minimum PHPUnit to v6.0+.
- Change skeleton folder from
fixture
tolaravel
.
- Refresh named routes when declaring new routes from within a test method.
- Remove deprecated
Orchestra\Testbench\ApplicationTestCase
, useOrchestra\Testbench\TestCase
. - Remove deprecated
Orchestra\Testbench\Exceptions\ApplicationHandler
, useOrchestra\Testbench\Exceptions\Handler
. - Remove deprecated
Orchestra\Testbench\Traits\ApplicationTrait
, useOrchestra\Testbench\Traits\CreatesApplication
. - Remove depreacted
Orchestra\Testbench\TestCase::runLaravelDefaultMigrations()
method, useloadLaravelMigrations()
.