使用jbehave将故事导出到html [英] using jbehave to export stories to html

查看:86
本文介绍了使用jbehave将故事导出到html的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个按故事组织的目录树,其中按故事的功能职责对故事进行分组,例如

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

有数百种功能和故事,因此很难全面了解该功能.

问题:JBehave是否使您能够将基于文本的故事转换为更具可读性的格式,例如HTML文档,该文档使您能够深入查看详细信息,或者放大以仅查看特色和故事标题?

解决方案

jbehave-to -gherkin 项目可用于将故事导出为小黄瓜格式.

此后,可以使用 pickles 处理小黄瓜功能,以创建一些非常漂亮的html输出./p>

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?

解决方案

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.

这篇关于使用jbehave将故事导出到html的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆