Skip to content

Bootstrap absolute path #151

@bertdk

Description

@bertdk

My feature files are located at /features/user/user.feature and /features/book/book.feature. I want to be able to run all test for a specific folder and for all features. There are 2 options but none that supports both flows due to the bootstrap path configuration.

When I set the path as: bootstrap: '../config/behat/bootstrap.php', I can run all test in a specific folder but not over all features of the project. When I set the path as: bootstrap: '/config/behat/bootstrap.php', I cannot run all test in a specific folder but it works over all features of the project.

I tried to work with a variable path like: bootstrap: '%paths.base%/config/behat/bootstrap.php' but the variable %paths.base% is not parsed.

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