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

Async tests #132

Closed
paulyoung opened this issue Sep 2, 2014 · 2 comments
Closed

Async tests #132

paulyoung opened this issue Sep 2, 2014 · 2 comments

Comments

@paulyoung
Copy link
Contributor

For asynchronous tests I'm currently using XCTestExpectation via expectationWithDescription, waitForExpectationsWithTimeout, and fulfill.

While this works, are there any plans to add some BDD-style sugar for async tests similar to Specta, etc?

@jeffh
Copy link
Member

jeffh commented Sep 2, 2014

Have you tried toEventually? See the readme: https://github.com/Quick/Nimble/blob/master/README.md#asynchronous-expectations


Sent from my iPhone

On Tue, Sep 2, 2014 at 8:36 AM, Paul Young notifications@github.com
wrote:

For asynchronous tests I'm currently using XCTestExpectation via expectationWithDescription, waitForExpectationsWithTimeout, and fulfill.

While this works, are there any plans to add some BDD-style sugar for async tests similar to Specta, etc?

Reply to this email directly or view it on GitHub:
#132

@paulyoung
Copy link
Contributor Author

That's seems to be exactly what I want. I did a search of the Quick README and searched in issues but couldn't find anything on async testing.

Thanks!

modocache added a commit that referenced this issue Sep 2, 2014
NachoSoto pushed a commit to NachoSoto/Quick that referenced this issue Jul 18, 2016
Support Swift 2.0 on separate branch
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

2 participants