vendredi 19 décembre 2014

Testing Laravel models with PHPSpec

Its difficult to test Eloquent models with PHPSpec because it uses the Active Record pattern.


** Is it sensible to test Eloquent models with PHPSpec by only testing methods are not touching the database? **


Aucun commentaire:

Enregistrer un commentaire