A new tool for static analysis of PHP code has shown up: PHPSA - PHP Smart Analyzer. Tune in and check out what it can do!
Here's a quick way to get rid of filesystem troubles (cleanup anyone?) when practicing TDD - virtual file systems!
We use tests to test our code. But... how do we test our tests? Let's take a look at Humbug: a mutation testing framework!
Andrew explains how to perform database-related tests in a Symfony app much faster - with a disposable in-memory SQLite database, avoiding any bulky mocks
Nitpick CI is a service with a singular purpose - making sure your Github PRs respect the PSR-2 code standard. In this post, we'll put it to the test
Chris Pitt starts developing a new PHP package with TDD practices in mind - using PhpUnit and Mockery all the way. Check it out!
Shaumik examines the purpose of APIs, and how Postman can help with the critical task of testing them for functionality, exception handling and security.
Benjamin Tan Wei Hao shows you are different kind of testing called "property-based testing". Generate 100s or 1000s or iterations for your tests.
Failure is a wonderful teacher – as long as it doesn't kill you. CyberCity lets hackers and security experts practice without anyone getting hurt.
Vitalij Mik goes through a from-scratch UseCase implementation to demonstrate Clean Code Architecture and Test Driven Development on a Guestbook app!
Jani Hartikainen explains how to deal with promises in unit tests using Mocha and Chai as the base and showing promise-related patterns that occur in tests.
Matthew Setter take a look at Static Review - a framework for writing git hooks, so you can do hook inspections on your files on certain git actions!
In this introduction, Bruno Skvorc introduces BDD in Laravel by installing and using Behat and PhpSpec to develop a simple testable feature.
Younes Rafie demonstrates the use of Selenium for acceptance testing and browser automation in tandem with PHPUnit
Dennis Hotson discusses the process of building an API, from scoping and working with developers to documenting and choosing between REST and RPC.
We all know the value of hard science in testing, but sometimes we overlook our hard-won intuition. Anton Ruin shows you how to best the best of both.
Ravi Kiran continues to discuss how to test AngularJS-based projects by teaching you how to test directives.
In this recap post, Bruno Skvorc lists some of the most important and most relevant resources for getting started with PHP7.
Christian Johansen concludes his mini-series by discussing composed validators, how to extract data from a form element, and how to report errors.
Thanks to dependency injection, AngularJS makes it easy to unit test your code. Ravi Kiran shares some tips on testing services, controllers and providers.
Christian Johansen discusses the concept and the problems of having a tightly coupled code and how to write code that doesn't depend on the DOM.
RAML, the RESTful API Modeling Language, can be used for much more than documentation. In this post, Lukas White shows you how to use it to auto-test APIs.
Continuing the TDD story from before, we now test our API client by mocking the responses of the Diffbot API. Tune in to learn how to use response mocking!
Bruno Skvorc reviews the grumpy programmer's guide to building testable applications and the PHPUnit testing cookbook. Should you buy them? Read to find out