ruby - cucumber filter out scenario in runtime -


i'm looking way how can manage ruby cucumber scenarios in runtime. i'd filter scenarios out having information sut can gather in runtime.

for instance, i've following scenarios

@automated scenario: customer want run ... scenario 1 given ...  @automated @debug scenario: debugger want run ... scenario 2 given ...  @automated scenario: customer want run ... scenario 3 given ...  @automated @release scenario: releaser want run ... scenario 4 given ... 

i'm able determine whether debug or release application testing now. , debug 1 want see scenarios 1,2,3 run release app want see 1,3,4 run.

i know how using rake or other wrapper script it'd better find solution without such wrapper scripts.

also, cucumber profiles might not choice here because there several parameters each number of values. might require crazy number of combinations.


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -