Cucumber custome reports

Hi,

I need to create a custom report based on cucumber output. I am thinking
of two ways to do this.

  1. Either I have to write a java application to fetch the values like
    execution time for each scenarios along with its name, status etc from
    cucumber in runtime. Is that possible?

  2. Or write a xml formatter in cucumber and get the cucumber reports in
    xml format and fetch the values from this xml report.

I would like to use the first option if such a support is available.

Hi,

I need to create a custom report based on cucumber output. I am thinking
of two ways to do this.

  1. Either I have to write a java application to fetch the values like
    execution time for each scenarios along with its name, status etc from
    cucumber in runtime. Is that possible?

A java application?? Not sure what you mean here :slight_smile:

  1. Or write a xml formatter in cucumber and get the cucumber reports in
    xml format and fetch the values from this xml report.

Sounds like a much better idea.
http://wiki.github.com/aslakhellesoy/cucumber/custom-formatters

Aslak

My actual question is, Is there any api that the cucumber offer which
can be accessed to get the necessary data in the run time.

My actual question is, Is there any api that the cucumber offer which
can be accessed to get the necessary data in the run time.

http://wiki.github.com/aslakhellesoy/cucumber/hooks

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs