I noticed Codeception has the option of sqlite:memory
. Should I opt out of Mockery when this is the case?
What I understand is Mockery enables a test to avoid hitting the database. With the mentioned option of Codeception I am able to seed the database with sample data and hit it in the memory.
When I put this together with Selenium2 and PhantomJS, some tests were going from 15 seconds to 1 second in Laravel 4.