Unit Testing XIII - Inversion of Control and Dependency Injection
Posted by Bob Ray |
Using Inversion of Control (IOC) and Dependency Injection (DI), to improve your code
Unit Testing XII - Updating the User Class
Posted by Bob Ray |
Updating the User class to pass the new tests
Unit Testing XI - Refactoring the User Class Test
Posted by Bob Ray |
Adapting our User class to handle external validation
Unit Testing X - Creating our Validator Class
Posted by Bob Ray |
Moving validation to a separate class
Unit Testing IX - Testing a Validator Class
Posted by Bob Ray |
Creating a test for a separate validator class using a data provider
Unit Testing VIII - An Improved User Class
Posted by Bob Ray |
Fixing some problems with the user class
Unit Testing VII - Testing Error Handling with Stubs
Posted by Bob Ray |
Introducing better error handling and unit testing it with using stubs
Unit Testing VI - A Bad Constructor
Posted by Bob Ray |
An example of a bad (and virtually untestable) constructor
Unit Testing V - Testing in PhpStorm
Posted by Bob Ray |
Running Codeception unit tests inside the PhpStorm code editor
[ [+comments_form]] [ [!Login? &loginTpl=`HongkiatLoginTpl` &logoutTpl=`hongkiatLogoutTpl` &tplType=`modChunk`]]