Skip to content

Instantly share code, notes, and snippets.

@MugeSo
Created June 15, 2012 02:04
Show Gist options
  • Save MugeSo/2934280 to your computer and use it in GitHub Desktop.
Save MugeSo/2934280 to your computer and use it in GitHub Desktop.
$ behat
フィーチャ: 検索機能
欲しい商品を見つけるために
会員または非会員として
商品を検索できる
シナリオ: カメラを検索する # features/search.feature:7
前提 "ショッピングトップ" を表示している
もし "検索窓" に "カメラ" と入力する
かつ "検索" ボタンをクリックする
ならば "「カメラ」の検索結果" と表示されること
1 個のシナリオ (1 個未定義)
4 個のステップ (4 個未定義)
0m0.018s
未定義のステップを、次のスニペットで実装できます:
/**
* @Given /^"([^"]*)" を表示している$/
*/
public function naiTian($arg1)
{
throw new PendingException();
}
/**
* @Given /^"([^"]*)" に "([^"]*)" と入力する$/
*/
public function stepDefinition1($arg1, $arg2)
{
throw new PendingException();
}
/**
* @Given /^"([^"]*)" ボタンをクリックする$/
*/
public function v($arg1)
{
throw new PendingException();
}
/**
* @Given /^"([^"]*)" と表示されること$/
*/
public function naiTian2($arg1)
{
throw new PendingException();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment