开发者

Executable Scenarios (BDD) for C++

开发者 https://www.devze.com 2023-03-13 09:31 出处:网络
Does anyone know of a BDD framework for C++ that allows the execution of (Gherkin) scenarios such as:

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|
    |Mor开发者_开发技巧gan|Sweden |
    |Jimmy |Sweden |


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号