0
at_start
有紅寶石黃瓜測試鉤嗎?我試過at_start,它沒有工作。at_start是否有Ruby Cucumber測試鉤子?
我在support/hooks.rb
這樣的事情,我會在任何的測試打印一個單一的全球信息開始:
Before do
print '.'
end
at_exit do
puts ''
puts 'All Cucumber tests finished.'
end
好像如果他們有一個at_exit
掛鉤,他們應該有一個before-start
鉤還有吧?