【发布时间】:2011-09-30 21:56:48
【问题描述】:
You can implement step definitions for undefined steps with these snippets:
/**
* @Given /^people enter (\d+)$/
*/
public function peopleEnter($argument1)
{
throw new Pending();
}
我应该把它放在 bootstrap.php 下吗?我真的很困惑我应该知道什么... 我想使用 oop 风格,而不是闭包。 我是 BDD 和 Behat 的新手。 欢迎任何帮助。 谢谢
【问题讨论】:
标签: unit-testing testing bdd behavior dml