Posts marked with “behat”
RoadRunner, Atoum, IDEs, Feature Tests, DIY API, Wizard Thinking
Eric, John, and Oscar try to review the May 2021 issue, Testing Assumptions. Topics Covered Fall Conferences, like Longhorn PHP (CfP is currently open). Debugging long-running applications using RoadRunner, ReactPHP, or Swoole. Does using an IDE make you a bad developer? Feature tests w/Behat PHP Internals interview w/Sara Golemon Building an API with off-the-shelf components […]
Streamlining Behat
Behat, and feature tests overall, are crucial for giving you confidence that when you refactor code, you don’t change how an application works and for helping you understand how an application behaves in practice. Investing in integration and functional tests is worth it in the long term, and in this article, we’ll see how I […]
Education Station: Build an API, Part Two
In this series, we look at using Behavior-Driven Development (BDD) and specification by example to develop a RESTful API. In Part Two we introduce Behavior-Driven Development as a way of communicating with non-developers, our stakeholders.
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.
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.
September 2016 – Legacy Code of the Ancients
Hot off the Presses! Be sure to check out the September 2016 issue of php[architect] magazine. Learn how to manage and refactor your legacy code to bring it up to modern standards. This issue includes articles on Bethat testing, implementing two-factor authentication, and exploring Internet-of-Things apps with PHP and a Raspberry Pi. Download your issue […]
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.