Cucumber/SpecFlow 标签中可以有空格吗
Can I have spaces in Cucumber/SpecFlow Tags
我正在使用 SpecFlow 编写一些带有 Visual Studio 2015 和 SpecFlow 1.9 的测试。
是否可以在 SpecFlow 功能文件中包含空格的场景上添加标签?
Feature: My Feature
Some info
@I really want spaces here
Scenario: My Scenario
...
以上产生错误:
Custom tool error: Parsing error near '@I really want spaces here'
我在 Cucumber 中没有遇到任何东西 docs。
我试过猜测各种用法都无济于事。
我认为您的标签中不能有空格,看来使用 -
是首选
我正在使用 SpecFlow 编写一些带有 Visual Studio 2015 和 SpecFlow 1.9 的测试。
是否可以在 SpecFlow 功能文件中包含空格的场景上添加标签?
Feature: My Feature
Some info
@I really want spaces here
Scenario: My Scenario
...
以上产生错误:
Custom tool error: Parsing error near '@I really want spaces here'
我在 Cucumber 中没有遇到任何东西 docs。
我试过猜测各种用法都无济于事。
我认为您的标签中不能有空格,看来使用 -
是首选