Skip to content

Load contexts from path #188

@helyakin

Description

@helyakin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions