Support the ongoing development of Laravel.io →
posted 10 years ago
Testing
Last updated 2 years ago.
0

You may use SQLite as it is provided out of the box on Travic boxes which uses an in-memory database. You may do so by configuring the database under app/config/testing/database.php and having something like this in your connections

'sqlite' => array(
    'driver'   => 'sqlite',
    'database' => ':memory:',
    'prefix'   => '',
)

Then you'll have to make sure that you migrate and seed before every test in your setUp function using Artisan::call('migrate') and $this->seed(). More info at here http://laravel.com/docs/testing#helper-methods

Last updated 2 years ago.
0

You can use http://wercker.com/.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Ortix92 ortix92 Joined 8 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.