packagist orchestra/testbench v5.10.0

latest releases: 9.x-dev, 8.x-dev, 7.x-dev...
3 years ago

Changes

Testbench Changes

Added
  • Added defineEnvironment() and defineDatabaseMigrations() method to Orchestra\Testbench\TestCase.
    • defineEnvironment() usage is identical to getEnvironmentSetUp() but the original function will remain functioning for now.
    • Use defineDatabaseMigrations() to load any database migrations for the tests. This will allows Testbench to loads it early on the test cycle before to avoid it being clashing usage with DatabaseTransactions trait.
  • Add support to read environment variable from .env on skeleton when it's available when used with testbench bin command.

Don't miss a new testbench release

NewReleases is sending notifications on new releases.