Posts marked with “testing”
Education Station: Build an API, Part One
In this series, we look at using Behavior-Driven Development (BDD) and specification by example to develop a RESTful API with JSON-formatted request and response. In Part One we introduce these concepts, design our database, and implement a minimal working API.
PHPUnit Worst Practices
I’ve been working with PHPUnit a lot, probably since 2007. Unit testing and automatic testing in general is important, and it becomes even more important when it comes to team play. Unfortunately, in different teams that I have worked in, I often observed a situation when tests don’t receive all the attention they deserve, sometimes […]
Testing in Practice – April 2018
You can get pretty far without automated testing of your code. I should know, I was slow in adopting it as part of my day to day workflow. The truth is, automated testing ends up speeding up your workflow and its an investment. When you can have a computer, which is built to do routine […]
Community Corner: PHP TestFest Has Returned!
PHP TestFest is a global event organized by the PHP community at large, where an effort is made each time to increase the test coverage of the PHP engine itself. Learn how you and your user group can participate.
Blueprints for Success – January 2017
We have a new issue of the magazine to ring in the new year! This issue collects articles to help you plan and make your application and code better. These may be well-known design patterns, fundamental concepts, or novel applications of a familiar tool.
December 2016 – Scrutinizing Your Tests
The twelfth issue of 2016 is now available! This month we look at how to write good tests with Behat and using Test Driven Development. This issue also includes articles on using HTTPlug to decouple your HTTP Client, Decoupled Blocks with Drupal and JavaScript. Our columnists have articles on writing a Chat bot, advice on […]
Testing Your Drupal Site with Behat
If automated testing is not already part of your development workflow, then it’s time to get started. In this post, I’ll show you how to use Behat to test that your Drupal site is working properly.
March 2016 – Hunting Mutants
The March 2016 issue of php[architect] magazine is out! This issue will show you how to use Humbug to add mutation testing to your toolkit. Our issue also includes articles explaining how compilers and interpreters turn code into executable instructions, a look at Laravel’s Eloquent ORM, how to integrate authentication across apps, and getting started […]
February 2016 – Workflow Powerups
We’ve released the February 2016 issue of php[architect] magazine. This issue looks at tools to help you powerup your workflows to improve your productivity. This month we have articles on using Docker for PHP development environments, evaluating different Git workflows, how to build a Continuous Integration and Testing environment, and using Symfony’s Event Dispatcher. Our […]
October 2014 php[architect] Magazine Released – Built With PHP
Depending on where you get your stats, the percentage of sites on the web that are built with or use PHP vary from 55% to 82%. That’s a pretty wide variance, but one thing you can’t deny is PHP is well represented on the web! Our October issue explores two apps that were built on PHP, […]