hrcorval / behavex

BDD test wrapper for parallel test executions and more!
https://github.com/hrcorval/behavex
MIT License
85 stars 20 forks source link

Behavex command not working as per documentation #54

Closed jigisha9 closed 3 weeks ago

jigisha9 commented 1 year ago

@hrcorval @balaji2711 @Remox129 @anibalinn Behavex command not working as per documentation...pls. advise

tried all possibilities:

behavex -ip ./tests/wms/autotest/web/features -t InventorySyncVarianceConfiguration_ICN --color -o . behavex -t InventorySyncVarianceConfiguration_ICN --color -o . behavex -t @InventorySyncVarianceConfiguration_ICN --color -o .
behavex -t @InventorySyncVarianceConfiguration_ICN

image

anibalinn commented 1 year ago

Hi @jigisha9 , thanks for reporting this. I'll give it a try and provide the necessary fixes to make the wrapper to work with the arguments you are providing. Regards.

balaji2711 commented 1 year ago

Hi @jigisha9,

I have tried and it's working as expected. PFA for the screenshots.

Command 1 - behavex -tWeb --color

image

Command 2 - behavex -t@Web --color

image

Please don't give any space between -t and the tag name.

Example:
behavex -t@TAGNAME or behavex -tTAGNAME

jigisha9 commented 1 year ago

Thanks @balaji2711 @anibalinn for getting back... so now behavex -t@TAGNAME or behavex -tTAGNAME works

although behave.ini is not respected. I have paths and parameters defined in behave.ini which should be respected when we run using behavex. How to make that happen?

PS: This project works fine with behave using behave.ini... i am doing POC to make sure if we can replace it with behavex and can use more features of behavex.

image

image

hrcorval commented 2 months ago

Hi @jigisha9, you are right, not all the parameters in behave.ini are being respected, we are way behind on suporting the .ini file. As soon as we have more bandwidth we are going to focus on that incompatibility issue. Regards

hrcorval commented 3 weeks ago

I have improved the documentation to update how arguments are being provided, as the way it was indicated before doesn't work in all shells (this is the problem you were facing) Thanks!!

hrcorval commented 3 weeks ago

New documentation will be povided with release 3.3.0.