皆さん、
私は一箇所で立ち往生しています、構文エラーのように見えます、ここに私のキューがあります:
Feature: This is a test feature
@stagingsearch
Scenario Outline: Create a search and run it
When I create a search for profile "profilesame" for user <user>
Then I should see "Results"
Examples: These are the users
| user |
| mol_2_1 |
| mol_2_2 |
実装ステップを示すエラーが表示されます:
When /^I create a search for profile "([^"]*)" for user mol_(\d+)_(\d+)$/ do |arg1, arg2, arg3|
pending # express the regexp above with the code you wish you had
end
私が理解していないのは、キュウリが例 mol_2_1 を単一の文字列として解析しない理由です。ここには 2 つの引数しかありませんが、cucumber は混乱しているようで、3 つの引数として受け取ります。