Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我修改了一个步骤定义。我如何告诉 cucumber 运行所有但只运行包含此步骤的那些场景?
像这样在相关场景上贴上标签
@tagname Scenario: scenarioname Given some stuff...
并运行它 cucumber --tag @tagname
cucumber --tag @tagname