Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要帮助来创建自己的 Behat 步骤,类似于“当我按下时”。我这样做是因为原来的印刷方法似乎不能正常工作。
我想称之为“当我按下提交按钮时......”
所以,这是FeatureContext.php的代码块的开始:
/** * @When /^I press submit button "([^"]*)"$/ */ public function iPressSubmitButton($arg1) { }
问题是 - 我应该在这些括号内写什么?