create-behat-context
Read @.ai/Component/Behat/CONTEXT.md for conventions (base class, entity references, stateless steps, bus access).
1. Context class
Create tests/Integration/Behaviour/Features/Context/Domain/{Domain}/{Domain}FeatureContext.php:
- Extend
AbstractDomainFeatureContext - Implement step definitions as methods with
@Given,@When,@Thenannotations - Use
$this->getCommandBus()->handle(...)for write operations - Use
$this->getQueryBus()->handle(...)for rea
[Description truncada. Veja o README completo no GitHub.]