fauxalgore / BehatSayExtension

Speak Behat commands aloud with the say command
3 stars 0 forks source link

Add Behat Extension class instead of Context #2

Closed fauxalgore closed 7 years ago

stevector commented 7 years ago

Hi @fauxalgore,

A context might not be necessary at all. Here is a Behat extension that uses an EventSubscriber and no Context class: https://github.com/adamquaile/behat-command-runner-extension/blob/master/src/AdamQuaile/Behat/CommandRunnerExtension/CommandRunnerSubscriber.php

fauxalgore commented 7 years ago

Thanks @stevector. I will have a pull request soon that uses this convention.

fauxalgore commented 7 years ago

Follow up: https://github.com/fauxalgore/BehatSayExtension/issues/7