Is it possible add multiples include imports on build.yaml?
Hello, we want to import from our main app steps from different packages. Is it possible to do something like this:
includes:
- package:feature_a/bdd_options.yaml
- package:feature_b/bdd_options.yaml
Hey 👋 Not yet, currently only single options file is supported. I see why this might be useful, hence I believe it can be a nice improvement. Let's keep it as a feature request.
Thanks @olexale, this feature will be really useful if the team is working on a feature package approach. We are writing BDD test per package. So this is our current schema:
- bdd_test_core_package: Contains core shared steps
- feature_a|b|c|d: Contains specific steps per feature
- App: We need to import the steps from multiples features and also from core to be able to write Integration test and also some BDD widget test to verify that the integration that is doing the app works fine.
@juanagu, this should work in 1.4.3. the syntax is the same as with steps:
include:
- package:package_one/bdd_options.yaml
- package:package_two/bdd_options.yaml
Would you please test?
I assume that it works, so I’m closing this ticket.