Comments (11)
What is the sense of generating report from empty json?
from cucumber-reports-plugin.
Having 10 report files means if one is empty there's still plenty to generate reports from, and the empty one can be ignored and no report generated for it.
from cucumber-reports-plugin.
Makes sense
from cucumber-reports-plugin.
By empty json I should mean empty file or empty array of the features like
[]
Empty file could be resulted as error which should not be treated as normal correct result and empty array is currently improved in #366
from cucumber-reports-plugin.
@calebmfreed can you precise if you have empty file or empty array of the feature? Can you attach JSON file
from cucumber-reports-plugin.
I'll try to create an example and send it over.
from cucumber-reports-plugin.
Fixed, should work with next release
from cucumber-reports-plugin.
I'm having the same problem, using cucumber-reports-plugin 3.20.0.
My tests are runned automatically and when none has executed, an empty - [ ] - report file is created.
The Json is not parsed and is returned an error instead of an empty report:
net.masterthought.cucumber.ValidationException: Passed files have no features! at net.masterthought.cucumber.ReportParser.parseJsonFiles(ReportParser.java:69) ...
How can I fix this?
from cucumber-reports-plugin.
Show me JSON file
from cucumber-reports-plugin.
@damianszczepanik its a JSON file with an empty array
[]
from cucumber-reports-plugin.
That's because of that
https://github.com/damianszczepanik/cucumber-reporting/blob/master/src/main/java/net/masterthought/cucumber/ReportParser.java#L67
from cucumber-reports-plugin.
Related Issues (20)
- Storing cucumber HTML report in Jenkins workspace HOT 1
- Can we have the capability to change the order of the table in Feature statistics report in Jenkins cucumber plugin HOT 1
- Duration is not displayed correctly HOT 3
- cucumber-trends.json directory retention HOT 3
- trends just show 1 build information HOT 2
- uninstallation pending from long time HOT 1
- net.masterthought.cucumber.ValidationException: File '/target/test-classes/test.json' is not proper Cucumber report! HOT 3
- When I use Jenkins to start the tests, it does not generate the JSON or HTML report and Cucumber Reports give No JSON report file was found!
- Security Violations and Operational Risks HOT 1
- Cucumber Reports are not generated in Jenkins HOT 2
- Cucumber report Jenkins plugin fails with the exception net.masterthought.cucumber.ValidationException ….. is not a valid Cucumber report! when there is a value in the "argument" field HOT 3
- Advance option properties (skipped-steps-percentage, failed-scenarios-percentage & failed-features-percentage) for cucumber report is not reflecting in Jenkins Job Config through Yaml file HOT 4
- not a valid Cucumber report! String length (20051119) exceeds the maximum length (20000000) HOT 8
- Total Duration time is incorrect HOT 1
- mergeFeaturesWithRetest option in Jenkins cucumber-report plugin does not work HOT 1
- Status Skipped in the Scenarios section HOT 1
- Status Skipped in the Scenarios section HOT 1
- Feature: Capability of sending the results in email using custom mail relay server HOT 1
- VelocityException in CucumberReport HOT 2
- Is it possible to add 2 new runner files in jenkins file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cucumber-reports-plugin.