rselias / Cucumber-JSON-to-JUnit

Script for converting Cucumber JSON to JUnit XML
MIT License
0 stars 5 forks source link

only converts the first scenario of a feature #2

Open nadethoughts opened 4 years ago

nadethoughts commented 4 years ago

This is really great! it is exactly what I am looking for, but I am running into an issue with it and am not sure if there is anything that can be done. I don't know python, I am a rubist, but everything seems to be written so it should work, but I am only getting the Junit conversion for the first scenario of a feature, so I have 40+ tests running across 7 feature files, and I only get 7 test results out in the junit report.

I am using Python 3.8.1 running on Windows 10 Enterprise (b. 18363.418)

Here is an example of what I am seeing. I have a bunch of tests in the result.json file, and 1 in the target-results.xml file. target-report.zip

Like I said, not sure if this something that can be easily fixed or not, but it would be greatly appreciated if it can be. :)