1
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を初めて使っています。 何か助けを歓迎します。 ありがとうBehat 2.0を使用して、私のステップをどこに置くべきですか?