Open clouddueling opened 10 years ago
Depends on if you want to write a unit test, or a functional one. Any preference there?
Just saw 'The Unit Testing Facades Conundrum' would love to see a unit test w/ phpspec
.
Maybe both phpunit
and phpspec
to see the difference?
I'm following this github repo example but I'm wondering how you'd write the test for this app.
https://github.com/laracasts/Reusable-Repositories/blob/master/app/controllers/ProductsController.php