Skip to content

Allow Task-returning test methods without async keyword#510

Merged
mayankbansal018 merged 3 commits intomicrosoft:masterfrom
spanglerco:non-async-task-test
Nov 7, 2018
Merged

Allow Task-returning test methods without async keyword#510
mayankbansal018 merged 3 commits intomicrosoft:masterfrom
spanglerco:non-async-task-test

Conversation

@spanglerco
Copy link
Copy Markdown
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
Copy Markdown

msftclas commented Oct 29, 2018

CLA assistant check
All CLA requirements met.

@mayankbansal018
Copy link
Copy Markdown
Contributor

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

@AbhitejJohn
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

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