We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get the actual running groups in extension suite.before event in my extension. to only execute the code if a specific group was set or not.
\Codeception\Event\SuiteEvent::getGroups() return all groups found in the suite not only the groups from the tests.
\Codeception\Event\SuiteEvent::getGroups()
composer show
The text was updated successfully, but these errors were encountered:
Another idea is to disable the extension for a specific env. But there is no disable option and also not a default env.
default
So i can add a extension config option disable but i think this is not so sexy.
disable
The best i think would be to get the active groups in the extension suite event.
Sorry, something went wrong.
#5938 seems related. SuiteManager validates all group files even when group parameter is not used.
No branches or pull requests
What are you trying to achieve?
Get the actual running groups in extension suite.before event in my extension. to only execute the code if a specific group was set or not.
What do you get instead?
\Codeception\Event\SuiteEvent::getGroups()
return all groups found in the suite not only the groups from the tests.Details
composer show
)The text was updated successfully, but these errors were encountered: