3.2 documentation

Version 3.2

v3.2.5

  • Update validation.php language file for image dimensions validation rule.
  • Use static::class instead of get_class($this) under Orchestra\Testbench\TestCase.

v3.2.4

  • Bump to Laravel Framework v5.2.28+.

v3.2.3

  • Add new Orchestra\Testbench\TestCase::setUpTraits() method.
  • Add support to Illuminate\Foundation\Testing\Concerns\InteractsWithAuthentication by default.
  • Update named route look-up table when $app is bootstrapped.

v3.2.2

  • Fixes Orchestra\Testbench\ApplicationTestCase filename typo. (@rydurham)

v3.2.1

  • Bump to Laravel Framework v5.2.7+.
  • Add Orchestra\Testbench\ApplicationTestCase and Orchestra\Testbench\Exceptions\ApplicationHandler for full Laravel integration testing support. (@rydurham)

v3.2.0

  • Update support for Laravel Framework v5.2.
  • Include default middlewares under Orchestra\Testbench\Http\Kernel.
  • Add Orchestra\Testbench\Http\Middleware\Authenticate and Orchestra\Testbench\Http\Middleware\RedirectIfAuthenticated.
  • Rename Orchestra\Testbench\TestCaseInterface to Orchestra\Testbench\Contracts\TestCase.
  • Remove Behat integration via Orchestra\Testbench\BehatFeatureContext.

Version 3.1

v3.1.7

  • Bump to Laravel Framework v5.1.27+.
  • Add Orchestra\Testbench\Traits\WithFactories trait to allow packages to load model factories when running packages test suite.

v3.1.6

  • Update Laravel configuration fixtures.
  • Test with PHPUnit 4.0+ and 5.0+.
  • Flush serverVariables properties if it exists.

v3.1.5

  • Update Laravel configuration fixtures.
  • Move providers and aliases configuration to fixtures config/app.php.
  • Add testing database connection which use :memory: SQLite database.

v3.1.4

  • Update Laravel configuration fixtures, add support for new authorization feature.

v3.1.3

  • Update Laravel configuration fixtures.
  • Execute Mockery::close() if Mockery class is available on teardown.

v3.1.2

  • Include fzaninotto/faker as a dependency for compatibility with Laravel Framework v5.1.7 and above.

v3.1.1

  • Update Laravel configuration fixtures.

v3.1.0

  • Update support for Laravel Framework v5.1.
  • Remove Orchestra\Testbench\Traits\ClientTrait.
  • Remove Orchestra\Testbench\Traits\PHPUnitAssertionsTrait.

Version 3.0

v3.0.7

  • Update Laravel configuration fixtures.

v3.0.6

  • Show expected code and actual code when using PHPUnitAssertionTrait::assertResponseStatus().
  • Update Laravel configuration fixtures.

v3.0.5

  • Update changes to Laravel Framework v5.0.15, move generated compiled.php and routes.php to vendor directory.

v3.0.4

  • Add Orchestra\Testbench\TestCaseInterface::artisan() contract.
  • Add Orchestra\Testbench\Traits\ClientTrait::artisan() helper.

v3.0.3

  • Ensure Laravel is bootstrapped using array for cache driver by default.

v3.0.2

  • Timezone should be more explicit, and shouldn't attempt to set date_default_timezone_set() when timezone is NULL.
  • Rebind Illuminate\Foundation\Bootstrap\LoadConfiguration with Orchestra\Testbench\Bootstrap\LoadConfiguration.
  • Add orchestra/database to allow migration using --realpath option.

v3.0.1

  • Fixes timezone not being set by default in certain environment.

v3.0.0

  • Update support for Laravel Framework v5.0.
  • Simplify PSR-4 path.
  • Update fixtures to match Laravel 5 structure.

Version 2.2

v2.2.1

  • Add support for Behat when testing packages as an alternative to PHPUnit.
  • Remove requirement to use phpseclib fork since v0.3.7 already provides compatibility to Laravel 4 workbench.

v2.2.0

  • Bump minimum version to PHP v5.4.0.
  • Add support for Laravel Framework v4.2.
  • Refactor Orchestra\Testbench\TestCase bootstrapping process to utilize trait.
  • Add Orchestra\Testbench\TestCaseInterface and remove dependencies to require Illuminate\Foundation\Testing\TestCase.

Version 2.1

v2.1.2

  • Implement PSR-4 autoloading structure.
  • Remove requirement to use phpseclib fork since v0.3.7 already provides compatibility to Laravel 4 workbench.

v2.1.1

  • Fixes Cannot redeclare crypt_random_string() issue when developing with workbench.

v2.1.0

  • Update Laravel 4.1 Service Providers.

Version 2.0

v2.0.6

  • Implement PSR-2 coding standard.
  • Add multiple test case examples.

v2.0.5

  • Fixed stricter SQLite configuration introduced in Laravel Framework 4.0.8.

v2.0.4

  • Add migration testcase example.
  • Add Orchestra\Testbench\TestCase::getEnvironmentSetUp().

v2.0.3

  • Fixed a bug when calling Artisan::call() from test suite.

v2.0.2

  • Add unit testing and code coverage.

v2.0.1

  • Improved performance by reducing registered service providers.

v2.0.0

  • Initial release.