PHP Test Driven Development Part 5: Integration TestingLet’s learn about Integration testing today. Integration testing is a method of testing by passing in the real dependencies and thus…Nov 6, 20181Nov 6, 20181
How to setup PHP Code Sniffer in PHPStormFirst we need to include a dependency for squizlabs/php_codesniffer in our composer.json file. For example:Oct 25, 20184Oct 25, 20184
Testing your tests: PHP Mutation Testing with Infection FrameworkHow reliable are the tests we write? Are they covering the edge cases? What happens when the code changes? Do the tests still pass?Oct 12, 2018Oct 12, 2018
PHP Test Driven Development Part 4: Enter The MockHey there, welcome to part 4! Today we’ll learn how to mock. Mocking is a process where you create a fake instance of a real class, and…Sep 15, 20181Sep 15, 20181
PHP Test Driven Development Part 3: Unit Testing ContinuedNow continuing from Part 2, let’s revisit the test we were looking at:Sep 12, 20181Sep 12, 20181
PHP Test Driven Development Part 2: Unit TestingAll right, welcome to part 2 of “PHP Test Driven Development” series. Today we will go through the PHPUnit setup in detail.Dec 14, 20172Dec 14, 20172
PHP Test Driven Development Part 1: IntroductionTest Driven Development is a coding practice where you write a test first then write the code to pass that test, usually in a short…Dec 1, 20176Dec 1, 20176
PHP Software Architecture Part 4: RefactoringAll right. Let’s go over and refactor our code from part one.Oct 31, 20172Oct 31, 20172
PHP Software Architecture Part 3: Extensible ArchitectureWhen I first started using this architecture, I had no name for it. But having a name will make it easier for us to remember it. Let’s call…Oct 30, 2017Oct 30, 2017
PHP Software Architecture Part 2: The AlternativesBefore we go into the refactoring process, let’s first look at the alternatives we already have. We will go through each of them and weigh…Oct 29, 2017Oct 29, 2017