-2
我有很多功能,並希望控制標籤列表,以防止錯字和其他命名問題。有沒有什麼方法可以在我的所有功能中獲得標籤列表?如何對我的功能中使用的所有標籤執行檢查?
因此,有
@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']
列表。