How to Test Models Using PHPUnit Testing Framework

Published: 28 March 2016
on channel: 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


On this page of the site you can watch the video online How to Test Models Using PHPUnit Testing Framework with a duration of hours minute second in good quality, which was uploaded by the user Mindfire Solutions 28 March 2016, share the link with friends and acquaintances, this video has already been watched 2,910 times on youtube and it was liked by 10 viewers. Enjoy your viewing!