You can change the FTL template used to generate the view

http://jbehave.org/reference/stable/javadoc/core/org/jbehave/core/reporters/FreemarkerViewGenerator.html

You can simply have set

configuration.storyReporterBuilder().viewResources().setProperty("reports", <your_template_path>)

the path of the template is relative to the classpath.

Cheers

On 16/04/2013 04:13, Kaustubh Joshi wrote:
I am jbehave user, and just registered on the codehaus portal.So i don't know which mail list is correct hence added all list..sorry for that

I just want to know,how calls are made for html report file which user see as report of story execution? I want to update html-output.ftl file such a way that when final report gets generated in
..\target\jbehave\view\
reports.html file, i don't want columns like Given-story Scenarios, Steps in html output file as I want to delete those permanently ..how i can do that? When i see the html-output.ftl file it has very complex code which does not get how the columns are mapped and how to delete the what code...
 ...do I need to delete the code in jbehave-core.css file
as well? Pls suggest
Also if i made changes in code , how i can make them persistent/permanent so that every time i compile, i don't see old code...

Awaiting for the help from jbehave devs.

Cheers,
K


On Mon, Apr 15, 2013 at 9:26 PM, Kaustubh Joshi <kashu.jo...@gmail.com <mailto:kashu.jo...@gmail.com>> wrote:

    I am jbehave user, and just registered on the codehaus portal.So i
    don't know which mail list is correct hence added all list..sorry
    for that

    I just want to know,how calls are made for html report file which
    user see as report of story execution?
    I want to update html-output.ftl file such a way that when final
    report gets generated in
    ..\target\jbehave\view\reports.html file, i don't want columns
    like Given-story Scenarios, Steps in html output file as I want to
    delete those permanently ..how i can do that?
    When i see the html-output.ftl file it has very complex code which
    does not get how the columns are mapped and how to delete the what
    code...
     ...do I need to delete the code in jbehave-core.css file
    as well? Pls suggest
    Also if i made changes in code , how i can make them
    persistent/permanent so that every time i compile, i don't see old
    code...

    Awaiting for the help from jbehave devs.

    Cheers,
    K



Reply via email to