ThoSe1990 / cwt-cucumber

A C++ Cucumber interpreter
MIT License
17 stars 3 forks source link

Step reports export #41

Open kreuzberger opened 2 days ago

kreuzberger commented 2 days ago

Cucumber supports the output of test results as an machine readable json file. This could be used to generate test reports. There is a format description here https://github.com/cucumber/messages

There could be several approaches:

Due to the different needs of such a test report and to keep the project dependency free the first solution could be the most acceptable, could be "similar" to the json from cucumber messages. Currently only the feature and step / outlines /examples execution and output are of interested for me (to generate an QS Deparment friendly test report) . Timings and other stuff not.

kreuzberger commented 2 days ago

This is just an "enhancement" with lowest priority. Just as an idea to support custom formatters

ThoSe1990 commented 2 days ago

Yes, I have this on my mind. This actually was the motivation to rewrite the interpreter and introduce the visitor pattern, in order to set the foundation for reporting mechanisms. But I'll need some time to do this and I'm rather busy at the moment. I'll leave this issue open.