ruby - How can i get the skipped scenarios count in cucumber hooks -
is there cucumber command skipped scenarios in cucumber ruby framework. like
after |scenario| scenario.skipped? end
not sure why is, there .skipped? method step, not scenario itself. if add afterstep hook, returned array of information step. there, can collect information need.
afterstep |blah| blah.first.skipped? end
Comments
Post a Comment