hiptest-publisher icon indicating copy to clipboard operation
hiptest-publisher copied to clipboard

Enhancement request - When exporting action-words to cucumber-ruby framework, if the definition is exported with a body **pending** it will be useful

Open ramaniv opened this issue 6 years ago • 0 comments

Using the publisher when I export an action word in to cucumber-ruby framework, I see the following

def method_name (p1="",__datatable="||")

end

When the tests are executed, this empty method is executed and step status is Passed giving a false positive (as test code is not implemented yet)

If you rather export the action word as follows...

def method_name (p1="", __datatable="||") pending end

this will report the step as pending (supposed to be) when the test is executed.

ramaniv avatar Jun 13 '18 14:06 ramaniv