cucumber / cucumber-cpp

Support for writing Cucumber step definitions in C++
MIT License
306 stars 131 forks source link

[FEATURE] comparing result of performances (upload data in the report) #248

Closed HeeroYui closed 8 months ago

HeeroYui commented 2 years ago

I need to compare bench performances, but I know the result only when it is wrong (comparing error)

I know the cucumber on js can upload images on the html report. I did not find a way to upload image or text un the cpp-cucumber. is it possible to add text on report or images?

jermus67 commented 2 years ago

I'm not sure it this is possible with cucumber-cpp. However, until now the reporting relies on what is provided in cucumber ruby, as the cpp part is "just" a test steps execution engine for now (communicating with cucumber ruby over the wire protocol).

Maybe you can point me to a an example of uploading images in cucumber-js? I can then ask around to see if we can (or cannot) replicate that behavior with cucumber-cpp.

jermus67 commented 2 years ago

@HeeroYui , I'm sorry to have say that, after having asked around, that uploading screenshots is not possible with the current implementation of cucumber-cpp, due to relying on the wire protocol, which does not support this feature.