Closed Tartare2240 closed 7 years ago
Try changing the first part of the configuration to this:
default:
suites:
default:
contexts:
- Tests\Behat\Hlc\HlcLegalBundle\FeatureContext
- Imbo\BehatApiExtension\Context\ApiContext
Perfectly working, thanks a lot !
I am passing from Behat/WebApiExtension to this extension, but I'm struggling at the very beginning, on the config phase. I use almost the same behat.yml file working well with behat official extensions.
For totally unknown reasons it triggers me a not implemented interface for no reason at all :
Every context class must implement Behat Context interface, but Imbo\BehatApiExtension\ServiceContainer\BehatApiExtension does not.
When I'm dumping the place where the interface is tested withvar_dump($reflClass->getName(), $reflClass->getInterfaces());
I got :Any idea ?