Giter Club home page Giter Club logo

behat-cucumber-formatter's People

Contributors

cawolf avatar davidgrayston avatar grevenx avatar mkuznetsov4xxi avatar mytord avatar semantic-release-bot avatar smirik avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

behat-cucumber-formatter's Issues

Fatal error when suite doesn't contain any scenarios

vagrant@debian-8:/vagrant/auxmoney-web/crm$ behat /home/cwolf/workspace/auxmoney-web/crm/src/Auxmoney/Bundle/CRMBundle/Tests/Features/Kredit/Konditionsanpassung/Wunschbetrag.feature:16
Kein Szenario
Kein Schritt
0m0.11s (55.28Mb)
PHP Fatal error:  Call to a member function getFilenameForReport() on null in /vagrant/auxmoney-web/crm/vendor/cawolf/behat-cucumber-json-formatter/src/Formatter/Formatter.php on line 314

Incorrect count for Scenario outline

I am facing an issue using Cucumber Reports for Jenkins plugin https://plugins.jenkins.io/cucumber-reports/
Repo https://github.com/jenkinsci/cucumber-reports-plugin

Problem

Scenario outlines are not being counted, see screenshot
Screenshot 2023-10-27 at 09 14 21

How to replicate
I created a Jenkins job, using the output from https://github.com/cawolf/behat-cucumber-formatter/blob/master/features/eat-cukes.feature#L24-L281

The Jenkins job does the following:
1 - Creates json a file
Screenshot 2023-10-27 at 09 24 45
2 - Processes the json file
Screenshot 2023-10-27 at 09 25 36

One report file generated when running multiple suites

Hi,
I am using this package (which is great) and running multiple test suites in different directories.
When running the command:
behat --config behat.yml -f pretty -o std -f junit -o reports -f cucumber_json -o reports

After the command has finished I only get one report file by the name of the last suite.

I have this in my behat.yml file:
Vanare\BehatCucumberJsonFormatter\Extension:
fileNamePrefix: report-
outputDir: %paths.base%/reports

Can you please help me see why I only get one file?
Thanks!

Seems like Vanare version is more up2date than this forked repo

What's the status of this project now that it seems Vanare has picked up maintaining the project?
If that's the preferred repo now perhaps it should be added in the Readme file. Tried the latest version of this fork and it errors when trying to run the behat test with the JSON formatter:

Unrecognized option "filename" under "testwork.cucumber_json"

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.