Is there a documentation generator for test cases for cucumber scripts / functions (test cases?)

I want to have a beautifully formatted HTML page / directory that describes all of our cucumber test cases (scripts).

I am familiar with HTML formatting for a cucumber .... which is great for showing test results, but I'm looking for something a little different ... I want it to just show what the test cases are and be able to see the steps.

Essentially, I'm looking for something like rdoc, but it should generate test case documentation from .feature files. In addition, I would like it to disable a specific tag format in order to use it as a test case identifier, and use it to refer to various artifacts such as launch / test case results.

Does anyone know something like this?

+3
source share
2 answers

features2html does what you want, with the exception of the testid tracking tag.

I wrote this, feel free to use it anyway. Contributions are also very welcome.

From the description:

What is feature2html?

features2html is a simple script that creates HTML-based documentation from cucumber functions. The resulting layout is also suitable for printing in PDF format from your favorite web browser.

Note that the documentation is created from the original cucumber and NOT from the test results (there are many other tools that can do this).

2html, , . , features2html - , .

+2
+1

Source: https://habr.com/ru/post/1780727/


All Articles