How to Test Models Using PHPUnit Testing Framework

Publié le: 28 mars 2016
sur la chaîne: Mindfire Solutions
2,910
10

How to test models using PHPUnit testing framework?

Basically through this video, we will be learning how to unit test models in a MVC framework which usually contain most of the business logic and also interact with the database.

Basically through this video, we will be learning how to unit test models in a MVC framework which usually contain most of the business logic and also interact with the database.

We will be discussing in this session below points:

1. Basic intro to PHPUnit and concepts
2. Unit test concepts
3. How to think about test cases?
4. Intro to MVC structure
5. Role of Model layer
6. Testing models using PHPUnit
7. Testing models for database integration using DBUnit extension of PHPUnit
8. Unit testing models using Mocks
9. Conclusion

Presenter: Satej Kumar, Sr. Software Engineer, Mindfire Solutions


Sur cette page du site, vous pouvez voir la vidéo en ligne How to Test Models Using PHPUnit Testing Framework durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Mindfire Solutions 28 mars 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,910 fois et il a aimé 10 téléspectateurs. Bon visionnage!