You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I'm trying to have is a suite that does not need extensions and executes fast.
My default suite uses Symfony extension and because it's a big app, creating the container takes a lot of time.
I have a suite "domain" of "acceptance tests" that does not rely on symfony in any way and that is really really fast so I'd like to run this suite before the other on CI.
The fact that my "domain" suite load the extensions makes it slow.
So I tried to create a "domain" profile instead of a suite with this configuration:
Unrecognized option "extensions" under "testwork". Available options are "argument", "autoload", "calls", "cli", "contexts", "definitions", "environments", "events", "exceptions", "filesystem", "formatters", "gherkin", "gherkin_translations", "helper_container", "hooks", "ordering", "snippets", "specifications", "suites", "testers", "transformations", "translation".
A solution I found is to rename the default profile to something else and remove the extensions key from my domain profile but this breaks the default profile.
This issue is that the default profile is BOTH "the default profile if no profile is specified" AND "the profile that others inherit from" :/
Is there a solution for my need that is not a second configuration file ?
If this is considered a bug that needs to fixed I can make a PR if someone guides me a little on how to implement a fix.
Thanks for your time.
The text was updated successfully, but these errors were encountered:
Hi,
What I'm trying to have is a suite that does not need extensions and executes fast.
My default suite uses Symfony extension and because it's a big app, creating the container takes a lot of time.
I have a suite "domain" of "acceptance tests" that does not rely on symfony in any way and that is really really fast so I'd like to run this suite before the other on CI.
The fact that my "domain" suite load the extensions makes it slow.
So I tried to create a "domain" profile instead of a suite with this configuration:
But I have this issue:
A solution I found is to rename the
default
profile to something else and remove theextensions
key from mydomain
profile but this breaks thedefault
profile.This issue is that the
default
profile is BOTH "the default profile if no profile is specified" AND "the profile that others inherit from" :/Is there a solution for my need that is not a second configuration file ?
If this is considered a bug that needs to fixed I can make a PR if someone guides me a little on how to implement a fix.
Thanks for your time.
The text was updated successfully, but these errors were encountered: