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

Bootstrap absolute path #151

Open
bertdk opened this issue Aug 2, 2021 · 0 comments
Open

Bootstrap absolute path #151

bertdk opened this issue Aug 2, 2021 · 0 comments

Comments

@bertdk
Copy link

bertdk commented Aug 2, 2021

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.

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