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

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -