C# Specflow解析错误VS2010
有人能告诉我specflow中的第二个AND语句有什么问题吗 也许还有更好的方法来测试这种行为C# Specflow解析错误VS2010,c#,specflow,C#,Specflow,有人能告诉我specflow中的第二个AND语句有什么问题吗 也许还有更好的方法来测试这种行为 Scenario: New Lowest Member changes all existing members Given the following members are registered to race | FullName | mMemberID | mGrpID | | Michael | 1 | 10 | | John | 2 | 2
Scenario: New Lowest Member changes all existing members
Given the following members are registered to race
| FullName | mMemberID | mGrpID |
| Michael | 1 | 10 |
| John | 2 | 22 |
And the following member is added
| FullName | mMemberID | mGrpID |
| Slow | 3 | 6 |
Then MemberID 2 should have a Handicap of "00:02:30"
And MemberID 3 should have a Handicap of "00:00:00"
很难说没有Vs在我手中。也许是某个地方的换行或制表符。 已更新 我现在尝试将您的场景复制到一个新的.feature文件中,效果非常好。所以我现在认为(甚至更多)有一些隐藏的东西扰乱了你的功能。 不过,我其余的答案仍然成立 但是我建议您不要使用诸如mGrpId之类的实现名称。而是使用该组的名称并查找它。请记住,您希望最终用户、测试人员、分析人员等能够阅读场景
换成那样,也许你那模糊的错误也会消失;) 如果到目前为止给出的答案不能解决问题,请显示步骤绑定。您的eror或问题到底是什么?请发布您的问题的更多详细信息。