FriendsOfBehat / SymfonyExtension

:musical_score: Extension integrating Behat with Symfony.
MIT License
472 stars 62 forks source link

Test command with datas fixtures and DAMADoctrineTestBundle #211

Closed ekergreis closed 7 months ago

ekergreis commented 7 months ago

I have a problem with DAMADoctrineTestBundle (v8.0.1) and SymfonyExtension (v2.4.2) to test a command. The datas inserted in my scenario aren't accessibles by the command to test.

With Symfony2Extension, I called behat-test instead of console and the datas passed to Doctrine in my scenario was accessibles by the command to test.

Do you have a solution ? Thanks in advance

ekergreis commented 7 months ago

Sorry it's OK with the CommandContext of elbformat/symfony-behat-bundle