You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
Sometimes I found it would be nice if I could skip before hook in certain examples. I have setup something in before hook, but within this context I have some examples need different setup.
Ideally the supposed syntax would be like:
describe "Skip hook demo" do
before(:unskipped) do
puts "before hook"
end
it "will use before hook" do
end
it "will not use before hook", skip: true do
end