Vincent Faliès - Artisan Codeur

Check PHP compatibility

php web test qa quality assurance
Reading time: 2 minutes, 0 seconds

In life cycle of a project, you must upgrade the server where it installed. During this upgrade, PHP version can be upgraded. A legitim question is if the project is ready to run on the new version of PHP. This question of quality assurance can be integrate to your continuous integration process dur...

Continue reading...

PHPunit : Test a method with redirection

php web Development phpunit test
Reading time: 1 minute, 0 seconds

Development's tests are a mandatory step for guarantee the validity and viability of the code. Sometimes, the tests writing are not trivial. For instance, a method can do an HTTP redirection :

class MyClass
     * Method to redirect to
    public function doRedire...

Continue reading...