我有很多功能,并且想控制标签列表,以防止拼写错误和其他命名问题。有没有办法在我的所有功能中获取标签列表?
所以有
@opponent
Feature: Fight or flight
In order to increase the ninja survival rate,
As a ninja commander
I want my ninjas to decide whether to take on an
opponent based on their skill levels
Scenario: Weaker opponent
Given the ninja has a third level black-belt
When attacked by a samurai
Then the ninja should engage the opponent
@wip
Scenario: Stronger opponent
Given the ninja has a third level black-belt
When attacked by Chuck Norris
Then the ninja should run for his life
和
Feature: showing off behave
@dummy
Scenario: run a simple test
Given we have behave installed
when we implement a test
then behave will test it for us!
我会得到标签列表['opponent', 'wip', 'dummy']
。