Skip to content
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

Pending tests? #567

Closed
IngwiePhoenix opened this issue Jan 6, 2016 · 3 comments
Closed

Pending tests? #567

IngwiePhoenix opened this issue Jan 6, 2016 · 3 comments

Comments

@IngwiePhoenix
Copy link

Is there a way to have pending tests, as in, to "prototype" tests?

In Jasmine, I usually can do:

describe("...", function(){
  it("...");
})

and since the call to it() didnt get a function, its a pending test.

Is it possible to have that with Catch?

@nabijaczleweli
Copy link
Contributor

it("...", []() {})

I guess?

@philsquared
Copy link
Collaborator

Not precisely the same thing but if you write a test case (or section) that has no assertions you can get Catch to warn you about them....
Alternatively you could put a FAIL in there and add the [!shouldfail] tag. That way it will show up as a failing test without impacting the test failures count.

Do either of those possibilities fit the bill?

@IngwiePhoenix
Copy link
Author

I think it'll work. Not exactly a pretty solution though ;)

@horenmar horenmar added the Resolved - pending review Issue waiting for feedback from the original author label Mar 3, 2017
@horenmar horenmar removed the Resolved - pending review Issue waiting for feedback from the original author label Mar 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants