Open qarampage opened 1 year ago
Hi @qarampage, I like this feature a lot. Do you have the implementation to review it and analyze extending the BehaveX library? Thanks!
Thanks @hrcorval , Sure, you can review it here https://pypi.org/project/bdd-tags-processor/ I have detailed examples there and you can also try it out
hi @hrcorval, how's everything going on your side ! just want to know if you tried the bdd-tags-processor module ?
Hi @hrcorval @anibalinn
I am using your behavex package extensively in the automation framework. It is quite impressive and I am also having a few suggestions that I have posted in the issue tracker and waiting for other new features to get implemented from the tracker.
However, to support filtering out the feature files and scenarios based on given tags expression like below, I have created an bdd-tags-processor module. I was wondering if you could have a look at it and integrate that within behavex. I am using this on top of behaveX call to have the right set of scenarios to be executed by behavex
Given expression: { ~@web and @browser and @checkout and ~@norun and ( @regression or @Sanity )} Result: --> NoRuns: ['@web', '@norun'], Ands: ['@browser', '@checkout'], Ors: ['@regression', '@Sanity']
Given expression: { @web and @regression and @norun and ( @test1 or @test2 )} Result: --> NoRuns: [], Ands: ['@web', '@regression', '@norun'], Ors: ['@test1', '@test2']
I have the main() function with adequate examples and how to use.