【发布时间】:2017-02-20 21:56:15
【问题描述】:
我是 Gherkin / ATDD / BDD 的新手。我正在起草以下验收测试:
Given a user is waiting for an operation to complete
And the operation is <percent>% complete
When <threshold> seconds elapse
Then a progress indicator should be displayed
And the progress indicator should display "<percent>%"
这具体是否足够,或者我应该修改 Given 子句以表示更具体的示例(以SBE 术语思考),例如通过引用特定角色而不仅仅是“用户”或引用正在进行的确切“操作”(例如:获取客户列表)?
谢谢, 托尼
【问题讨论】:
标签: bdd acceptance-testing atdd