C++ 的可执行场景 (BDD)
有谁知道 C++ 的 BDD 框架允许执行 (Gherkin) 场景,例如:
Feature: Table support in nbehave
Scenario: a table
Given a list of people:
|Name |Country|
|Morgan |Sweden |
|Jimmy |Sweden |
|Jimmy |USA |
When I search for people from Sweden
Then I should find:
|Name |Country|
|Morgan|Sweden |
|Jimmy |Sweden |
Does anyone know of a BDD framework for C++ that allows the execution of (Gherkin) scenarios such as:
Feature: Table support in nbehave
Scenario: a table
Given a list of people:
|Name |Country|
|Morgan |Sweden |
|Jimmy |Sweden |
|Jimmy |USA |
When I search for people from Sweden
Then I should find:
|Name |Country|
|Morgan|Sweden |
|Jimmy |Sweden |
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了一个名为
Cukebins 的项目: https://github.com/paoloambrosio /cukebins/wiki/Release-0.2.我没有尝试过,也不知道它的效果如何。 重命名为Cucumber-CPP并移至https://github。 com/cucumber/cucumber-cpp/这里还有一些替代方案的讨论:http://groups.google.com/group/cukes/browse_thread/thread/1f496aba050a22c3 /145b871678e2bbbc
I've found a project called
Cukebins: https://github.com/paoloambrosio/cukebins/wiki/Release-0.2.I haven't tried it and I don't know how well it works. Renamed to Cucumber-CPP and moved to https://github.com/cucumber/cucumber-cpp/There's also a discussion with some alternatives here: http://groups.google.com/group/cukes/browse_thread/thread/1f496aba050a22c3/145b871678e2bbbc