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
Ability to mark entire describe
or context
blocks as pending
#252
Comments
+1 |
This can already be done with something like spec = before_ pending $ do
describe "... With this you can easily define xit :: Example a => String -> a -> SpecWith (Arg a)
xit s = before_ pending . it s
xdescribe :: String -> SpecWith a -> SpecWith a
xdescribe s = before_ pending . describe s I'm happy to accept a PR that adds |
While trying to add spec :: Spec
spec = before_ pending $ it "should be pending" False
In contrast, the next spec works as expected: spec :: Spec
spec = before_ pending $ it "should be pending" $ False `shouldBe` True
Is this behaviour expected and desired? |
@lslah given that |
It'd be nice to be able to mark entire
describe
orcontext
blocks aspending
, either by prefixing them with anx
a-la rspec or just callingpending
somewhere in the do-body of the block.The text was updated successfully, but these errors were encountered: