sargath
sargath
Side note here. Whilst you have the phpunit already installed, its recipe provides the `test/bootstrap.php` file. I've used it in the `behat.yml` and it works ``` extensions: FriendsOfBehat\SymfonyExtension: bootstrap: tests/bootstrap.php...
I think that worth noting is also an aspect related to legacy app architecture, where we'd like to create a test before we change something. It would be really laborious...
I agree with both of you, although as usual, it all depends. Sometimes legacy !== legacy. Mocking is required when the decomposition strategy has failed. For instance, I would mock...