in behend 2.5, if I want to share my definitions of steps, I need to create several clans
class FeatureContext extends MinkContext
{
public function __construct(array $parameters)
{
$this->useContext('SubContextA', new SubContextA($parameters));
$this->useContext('SubContextB', new SubContextB($parameters));
}
}
but the 3.0 branch is completely different from the context that is not distributed, they implement the SnippetAcceptingContext and use features like KernelDictionary, for example.
How can I use "subcontexts" in Behat 3.0, the documentation is really poor
source
share