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

Popular posts from this blog

1111. appearing after print sequence - php -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -