Skip to content
New issue

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

Load contexts from path #188

Open
helyakin opened this issue Jul 31, 2022 · 0 comments
Open

Load contexts from path #188

helyakin opened this issue Jul 31, 2022 · 0 comments

Comments

@helyakin
Copy link

Hello everyone !

Having to specify all files in the Behat config file:

// behat.yml

default:
    suites:
        default:
            contexts:
                - Load\Of\Namespace\Class

Can be very tedious when you have a lot of context files.

Would you be interested in adding something like a contextPaths options

// behat.yml

default:
    suites:
        default:
            contextPaths:
                - tests/Behat/ContextDir

Where we could then fetch all context namespace from ?

Kind of like you do with the phpstan config file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant