cawolf / behat-cucumber-formatter Goto Github PK
View Code? Open in Web Editor NEWThis project forked from vanare/behat-cucumber-formatter
Behat extension generating JSON reports
License: MIT License
This project forked from vanare/behat-cucumber-formatter
Behat extension generating JSON reports
License: MIT License
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
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
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
2 - Processes the json file
Is it possible to take screenshots with Mink and insert them in the json file like what we can have with Cucumber and the embeddings node ?
Thank you in advance.
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!
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"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.