Closed qarampage closed 3 weeks ago
Hi @qarampage , it seems that you need to escape the square brackets. Otherwise, they will be considered as part of the feature filename:
behavex -ip features-i par_L\[\w-\]+.feature --parallel-processes 2 --parallel-scheme scenario
Describe the bug I used the Regex but it didn't filter the feature files
To Reproduce Steps to reproduce the behavior: Create a folder called FINAL inside /features add few feature files with prefix a par_
Execute the command
Expected behavior These files should have been executed. only 1 file would get skipped. but remaining two files matching the Regex should work
Running parallel scenarios
Total execution time: 0.2s Exit code: 0
Also, I have tried this command , even these don't work. $ behavex -ip features-i ^par_L[\w-]+.feature$ --parallel-processes 2 --parallel-scheme scenario $ behavex -ip features -i par_L[\w-]+.feature --parallel-processes 2 --parallel-scheme scenario
Below command generated 0 Scenarios to execute $ behavex -ip ./features -i ^par_L[\w-]+.feature$ --parallel-processes 2 --parallel-scheme scenario
Desktop (please complete the following information):
Smartphone (please complete the following information): Not applicable
Additional context N/A