【发布时间】:2014-05-24 21:58:56
【问题描述】:
如果我定义了以下步骤,这是否有效?我觉得是某种气味。
Scenario: Change users status
Given I have the following users exist:
| code | status |
| u1 | active |
| u2 | inactive |
| u3 | active |
And the status filter is "active"
When I update "u1" to "inactive"
Then I should see the following users:
| code |
| u3 |
When I change status filter to "inactive"
Then I should see the following users:
| code |
| u1 |
| u2 |
【问题讨论】:
标签: bdd