using jbehave to export stories to html

家住魔仙堡 提交于 2019-12-23 04:20:13

问题


I have a directory tree organised with stories, where stories are grouped by their functional responsibilities, e.g.

C:\specifications
   |
   + myproject
     |
     |- admin stories
     |  |- account_management.story
     |  +- finance_management.story
     |
     +- customer stories
        |- pay_bils.story 
        +- update_details.story

There are hundreds of features and stories, so it's difficult to get a high level view of the functionality.

Question: Does JBehave enable you to convert the text based stories into a more readable format, such as a HTML document that enables you to drill down into the detail, or zoom back up to just see the feature and story titles?


回答1:


The jbehave-to-gherkin project can be used to export stories to gherkin format.

After that, the gherkin features can be processed with pickles to create some really nice html output.



来源:https://stackoverflow.com/questions/21187880/using-jbehave-to-export-stories-to-html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!