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

Allow Task-returning test methods without async keyword #510

Merged
merged 3 commits into from
Nov 7, 2018

Conversation

spanglerco
Copy link
Contributor

Enables asynchronous tests that don't use the async state machine while
still rejecting async void methods.

Fixes #500. Discussion on the issue hasn't concluded whether this behavior is intentional or not, but it was requested that I go ahead and open a pull request for it.

Enables asynchronous tests that don't use the async state machine while
still rejecting async void methods.
@msftclas
Copy link

msftclas commented Oct 29, 2018

CLA assistant check
All CLA requirements met.

@mayankbansal018
Copy link
Contributor

@AbhitejJohn , @jayaranigarg do you guys see any issue with this change?

@AbhitejJohn
Copy link
Contributor

@spanglerco , @mayankbansal018 : Looks good to me. Looks like this also change Assembly/Class/Test Init/Cleanup. Please make sure that any documentation related is updated as well.

@mayankbansal018
Copy link
Contributor

@AbhitejJohn thanks for looking into. Will get the documentation updated.

@mayankbansal018 mayankbansal018 merged commit 0301eea into microsoft:master Nov 7, 2018
@spanglerco spanglerco deleted the non-async-task-test branch November 7, 2018 23:14
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

Successfully merging this pull request may close these issues.

4 participants