Closed
Description
Hi,
Thanks for your module, it look very promising.
I'm pretty new to the testing world so I was just wondering how you would do integration tests on an application using your module.
Laravel tools like migration and seeding are not quite relevant with MongoDB.
What I would do is to set up a test db, flush it before each test, and then use something like https://github.com/Zizaco/factory-muff to populate my test db with some fake models.
What is your strategy on that matter ?
Activity
jenssegers commentedon Aug 21, 2013
I'm definitely not an expert in unit testing, there is still a lot I can learn myself.
Writings tests for an application using this database driver should not be different from tests using the original drivers.
The original Laravel tests use Mockery, so be sure to check that out.
serverSelectionTryOnce
set): [Failed to resolve 'mongodb'] #2231