PHPSpec doesn't entirely take the place of PHPUnit. If you're testing repositories that use Eloquent, use PHPUnit.
Apr 10, 2015
3
Level 1
Using PHPSpec to test repositories in L5
Hi all, I've a bunch of eloquent repositories I want to test.
With Laravel4 and PHPUnit I used to have a database config file for the testing environment with an sqlite in memory database. Then with the aid of testdummy I was able to test my repositories.
Now I switched to PHPSpec and L5 and I don't have any idea on how to reproduce that workflow, so I'm here to ask for your help XD
Thank you in advance
Please or to participate in this conversation.