These are my blog posts, where I talk about stuff
We use Symfony Functional Tests extensively to test the APIs we build for our application. By being able to replicate an entire HTTP request and run actual database queries against fixtures in SQLite generated with Faker, we get fast, repeatable tests that give us confidence our application works as expected.
Recently, I was refactoring some legacy code that was incredibly complex (integer overflow on the N-path complexity score) and with no tests around it. It also was a significant part of the product that provided the core value that provide to our customers. We wanted to decompose a big fat controller into some smaller logical services so we could reason with what was happening and migrate some components to reuse other parts of the system. Even though it was fairly trivial work, it can easily be seen as a risky activity and required a pretty thorough code review.