给定/何时/然后bdd故事分析器
story_parser的Python项目详细描述
故事分析器
这个项目是向PyHistorian编写文本故事的开始,但它也可以用于此。 它解析一个字符串文件,如:
Story: Writing a parser As a pyhistorian contributor I want to add support to stories written in text So that everyone can use it, even the stakeholders Scenario 1: Getting Title Given I have a story like this one When I try parse it and get the title Then I get "Writing a parser" title
安装
$ python setup.py install
或者您可以在unix框中运行make,它安装story\u解析器并运行它的所有测试