FriendsOfBehat/SymfonyExtension

Load contexts from path

helyakin opened this issue · 0 comments

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.