Behat tutorial part 2: testing Symfony 6 application

In part 1 we saw how to write a behat test. It's now time to use this knowledge to test our real-world application! Please notice that this tutorial will work with most versions of Symfony since behat is compatible with Symfony 4, 5, and 6. The project we…

Behat tutorial part 1: the basics

TL;DR: we are going to functionally test the ls command, the code is here. Behat is a testing tool for PHP. But before understanding what behat is used for, you need to understand that different types of testing exist. ⚠️ I will try to explain here the differences between the…