-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tags Pre-processor to filter Feature files and scenarios based on free-hand expressions #103
Comments
Hi @qarampage, I like this feature a lot. Do you have the implementation to review it and analyze extending the BehaveX library? |
Thanks @hrcorval , |
hi @hrcorval, |
hi @hrcorval |
Hi @qarampage, sorry for late reply. We have been setting our priorities on fixed and major changes needed in the library. I did a review of your module and I liked it a lot. We would like to consider it as part of BehaveX. |
Thanks @hrcorval for considering it. Here are the steps for a jump start
While I was working with Thang Le in his project (BDDDevicesAutomation), I created this BDD Tags Processor there. |
Hi @qarampage, thanks for the detailed information, I'll be giving a try to the proposed solution as soon as we are done with release 4.0.9. Managing tags with boolean expressions will make our executions simpler, so this is part of our scope, more probably for the following release :) |
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.
The text was updated successfully, but these errors were encountered: