You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to support autowiring and autoconfiguration for methods defining steps and transformations:
/** * @Given there is a product :productName*/publicfunctionthereIsProduct(string$productName, ProductRepository$productRepository): void
{
$this->productRepository->add(newProduct($productName));
}
I'm asking due to your recent Behat roadmap, maybe we can work on this feature (as it's not really complicated in recent Sf iterations) in order to release it in the future? 🤔
It would be great to support autowiring and autoconfiguration for methods defining steps and transformations:
The logic would be similar to the one used by Symfony for their controllers: https://symfony.com/doc/current/controller.html#fetching-services
The text was updated successfully, but these errors were encountered: