The paradox: I cannot test this code because it is legacy. I need to refractor the code to make it testable. How can I manage that, without breaking existing functionality? I will need to write s...
https://www.softwaretestingmagazine.com/videos/testing-legacy-code-safe-refactoring/
Behavior-Driven Development (BDD) is an Agile approach that mixes requirement gathering, documentation and acceptance testing. The idea is that you start by writing human-readable sentences that ...
PHP is not the best language to catch errors in code, like mistyped names of variables. This is what static code analysis tools (named linters or lints) can do: find bugs in code before it ever g...
https://www.softwaretestingmagazine.com/videos/php-static-code-analysis/
Agile development is a big thing nowadays. Almost every project wants to deliver value as quick as possible, but not all of them succeed because of the share amount of work most projects require....
https://www.softwaretestingmagazine.com/videos/behaviour-driven-development-with-behat/
In my previous articles, PHP Unit Testing with PHPUnit and Using Mocks and Stubs in PHPUnit, I have showed how to set up PHPUnit and how to get started with unit tests and how to handle mocking...
https://www.softwaretestingmagazine.com/knowledge/phpunit-tips-tricks/
In my previous column PHP Unit Testing with PHPUnit,I showed how to set up PHPUnit and how to run a few simple tests. You should be able to test any function or method now that doesn’t rely on ...
https://www.softwaretestingmagazine.com/knowledge/using-mocks-and-stubs-in-phpunit/
PHPUnit is an open source unit testing software framework for software written in the PHP programming language. Created by Sebastian Bergmann, PHPUnit is one of the xUnit family of frameworks tha...
https://www.softwaretestingmagazine.com/knowledge/php-unit-testing-with-phpunit/
PHPUnit is a unit testing software framework for PHP. It provides both a framework that makes writing unit tests easy as well as the functionality to easily run the tests and analyze their result...
https://www.softwaretestingmagazine.com/videos/test-driven-development-with-phpunit/