Giter VIP home page Giter VIP logo

Comments (3)

damianszczepanik avatar damianszczepanik commented on August 20, 2024

Description is supported eg https://damianszczepanik.github.io/cucumber-html-reports/report-feature_1920820787.html but comment is AFAIK not formally specified so there is no support for that

from cucumber-reporting.

dongkyu9315 avatar dongkyu9315 commented on August 20, 2024

Thank you so much for your reply.

So you are saying the comment is not supported for now, but the html link that you sent has these comments [1] for the test steps. Is this html something that the cucumber-reporting tool generated based on a JSON report that's auto-generated by a formatter? Or is it an html file that you manually edited afterwards?

I just need a way to add some custom data (which is generated at runtime of test step) to each test step, but it does not seem to simple... Maybe I need to create a custom formatter to generate a JSON report in a format that this cucumber-reporting tool can accept. If you have any other opinions or suggestions, please let me know. Thanks!

[1]

# Some comments
# Some more comments

from cucumber-reporting.

damianszczepanik avatar damianszczepanik commented on August 20, 2024

Right, comments is supported https://github.com/damianszczepanik/cucumber-reporting/blob/master/src/test/resources/json/sample.json#L65-L74 but custom data can be added via classifications only https://github.com/damianszczepanik/cucumber-reporting/blob/master/src/test/java/LiveDemoTest.java#L33-L34

from cucumber-reporting.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.