Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generate documentation from step definition(java) and feature files using Cucumber and Gherkin

I am using Cucumber, Gherkin and feature files in our automation project for testing purpose. This is a java project. So our step definition files are written in java using gherkin tags. I want to generate documentation (maybe in html) like yard-cucumber from java and feature files. Yard-cucumber generates the documentation after read/scan the feature and steps definition(written in ruby) files. I used the similar approach for java using jruby. But it is not scanning java files and giving error. Is there any tool/plugin to generate document after reading/scan feature and step definition files written in java? or any parser available in jruby with yard-cucumber to scan java files?

Please help. Thanks in advance.

like image 940
deepak kumar Avatar asked Dec 02 '25 21:12

deepak kumar


1 Answers

Cukedoctor might be what you're looking for. It uses the Cucumber JSON execution output to generate documentation.

like image 147
Azanadra Avatar answered Dec 05 '25 13:12

Azanadra



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!