Symfony2 adept thoughts

Behat Meta Steps Awesome Feature

Hello guys, let me show you how to prepare Behat meta step.

For example, you need start each your scenario form one entry point – logged in as specific user and located at homepage.

In this case you will need start each your scenario like this:

Let`s hide all login steps to meta step.

Add to your FeatureContext

now you can use it at your feature definition.

Much better now!