-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: uses pending in describe block / pattern to skip all tests in a describe block #610
Comments
While the This works quite good: local function pending_it(reason, it)
return function(desc)
it(desc, function()
pending(desc.." ("..reason..")")
end)
end
end
local it = pending_it("reason!", it) I think it would be good if using The above I think for me |
http://olivinelabs.com/busted/ has this section:
However, according to #551 (comment) this does not work.
Usually you would use
pending
instead ofit
then.So the docs need to be fixed in this regard (I could not find them in some git repo).
Is this a good pattern to make all tests in a describe block pending then?
(in neovim/neovim@f6c9412
return
was used, but that does not really make the tests pending, but only skips them)The text was updated successfully, but these errors were encountered: