You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
![image](https://private-user-images.githubusercontent.com/16265665/253733405-8dcf0603-1275-4dbc-b89c-11c0daa96508.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxNzU5MzYsIm5iZiI6MTcxOTE3NTYzNiwicGF0aCI6Ii8xNjI2NTY2NS8yNTM3MzM0MDUtOGRjZjA2MDMtMTI3NS00ZGJjLWI4OWMtMTFjMGRhYTk2NTA4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIzVDIwNDcxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU2YTRkMjFiZTBhOTRiMGJlYmRmYTc4NDYxMzM5NzQxMmVlNmJlMTQ3NGE3ZjBiNTgwZjg0ZTE0MWFkYTFlNjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yikQLaIr0YsSH4SHtnmf4LrLFhStFftw90zHy0or_EY)
Steps to reproduce the behavior:
Create a folder called FINAL inside /features
add few feature files with prefix a par_
Execute the command
![image](https://private-user-images.githubusercontent.com/16265665/253733376-1da35149-665b-457f-87b3-0dd43588201f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxNzU5MzYsIm5iZiI6MTcxOTE3NTYzNiwicGF0aCI6Ii8xNjI2NTY2NS8yNTM3MzMzNzYtMWRhMzUxNDktNjY1Yi00NTdmLTg3YjMtMGRkNDM1ODgyMDFmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIzVDIwNDcxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU1MzIxZjczZDVmMWVhNjI2MzlmYjBmMTZmMTc4MTViNGVmYmIxOTgwY2IwODljMDgyNDJiMDMxYTQ0OGVmZGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.lu6uAf1C-bqbHhOxWNbIXbHq1-ltW72Mfvw7KOfmLR8)
Expected behavior
These files should have been executed. only 1 file would get skipped. but remaining two files matching the Regex should work
Screenshots
|--------------------| ------------------------------------------------------------|
|ENV. VARIABLE | VALUE |
|--------------------| ------------------------------------------------------------|
|HOME | /Users/qarampage |
|CONFIG | /Users/qarampage/venv/lib/python3.11/site-packages/behavex/conf_behavex.cfg|
|OUTPUT | /Users/qarampage/output|
|TAGS | None |
|PARALLEL_SCHEME | scenario |
|PARALLEL_PROCESSES | 2 |
|TEMP | /Users/qarampage/output/temp|
|LOGS | /Users/qarampage/output/outputs/logs|
|LOGGING_LEVEL | INFO |
|--------------------| ------------------------------------------------------------|
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
The text was updated successfully, but these errors were encountered: