Code Monkey home page Code Monkey logo

Comments (8)

christian-bromann avatar christian-bromann commented on May 28, 2024

@BrandonDBrown sure this can be added to the json reporter. Just do a PR 😉 . The reporter is not owned by us but I am sure @fijijavis won't have anything against it.

from wdio-cucumber-framework.

BrandonDBrown avatar BrandonDBrown commented on May 28, 2024

@christian-bromann Great idea! Part of my question was asking for some help on how to add this to a custom reporter. If you have any ideas?

from wdio-cucumber-framework.

christian-bromann avatar christian-bromann commented on May 28, 2024

If you have any ideas?

Just look how the json reporter is implemented and integrate the customer reporter like in here: https://github.com/webdriverio/webdriverio/blob/master/examples/wdio/wdio.customreporter.conf.js

from wdio-cucumber-framework.

BrandonDBrown avatar BrandonDBrown commented on May 28, 2024

@christian-bromann Bingo. I have done all this, but I don't know how to access the Given, Then and When keywords to add to my custom reporter. Sorry my initial question wasn't very detailed.

from wdio-cucumber-framework.

christian-bromann avatar christian-bromann commented on May 28, 2024

If you don't get the data via the event payloads we need to enhance the wdio-cucumber-framework do send that data

from wdio-cucumber-framework.

BrandonDBrown avatar BrandonDBrown commented on May 28, 2024

Right now I am not seeing the data in the event payload. Wasn't sure if I was missing something.

from wdio-cucumber-framework.

christian-bromann avatar christian-bromann commented on May 28, 2024

Wasn't sure if I was missing something.

as I said then we need to enhance the reporter to send the step name

from wdio-cucumber-framework.

osmolyar avatar osmolyar commented on May 28, 2024

@BrandonDBrown , were you able to create a custom json wdio reporter for cucumber that would at least roll up the status of each Scenario based on the states of its steps ('tests', according to the default json reporter)?

from wdio-cucumber-framework.

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.