View Code? Open in Web Editor
NEW
This project forked from bigwhite /cbehave
A Behavior Driven Development Framework for C
License: Other
C 49.52%
CMake 0.40%
C++ 50.07%
cbehave's Introduction
Hi ๐, I'm congusbongus
A hobbyist game developer and occasional open source tinkerer
Mastodon
cbehave's People
Contributors
Stargazers
Watchers
cbehave's Issues
i.e. adopt cspec 's convention of referring to features by name only
This also means the name must be a proper C token - i.e. can't have spaces in it. Allow a free text description instead.
This can be done by having GIVEN create a dummy scope and scenario state, which the SCENARIO_END implementation must handle.
We'll also need to implement #4 since tests may be adding feature-level code setup, which will need to also handle the dummy scope.
Just cosmetic - a printf at the beginning of features
Use to set up some state common to all scenarios
Can be done already by inserting code into the FEATURE block, but this would be better practice, and allow GIVEN/AND syntax.