2

我有简单的功能:

Feature: Lol and other words

Scenario: Lol printing
  Given I like print "lol"

Scenario Outline: Words printing
  Given I like print "<word>"
Examples:
| word |
| lol  |
| ala  |

和实施:

from lettuce import step

@step('I like print "([^"]+)"')
def step_impl(step, word):
    print word

当 PyCharm lettuce 测试运行器执行功能时,它的运行第一个场景没有问题,但第二个从未执行(但它知道还有其他场景) - 所以它看起来像: 在此处输入图像描述 如何Scenario Outline使用这个运行器运行?
系统:
Windows 8.1、PyCharm 4.0.1 139.556 EAP Professional、生菜 0.2.20、Python27

4

1 回答 1

1

这是错误,已向 JetBrains 团队报告:
https ://youtrack.jetbrains.com/issue/PY-14572#tab=Comments

于 2014-11-28T13:11:50.137 回答