Skip to content

Add WithResult to TaskCompletionSourceAssertion#1478

Merged
jnyrup merged 1 commit intofluentassertions:developfrom
lg2de:AsyncWithResult
Feb 21, 2021
Merged

Add WithResult to TaskCompletionSourceAssertion#1478
jnyrup merged 1 commit intofluentassertions:developfrom
lg2de:AsyncWithResult

Conversation

@lg2de
Copy link
Copy Markdown
Contributor

@lg2de lg2de commented Jan 20, 2021

While further development of tests using async assertions (async methods and TaskCompletionSource) I found that asserting the result is not as fluent as possible.
Therefore I provide new idea to assert the result.

If you agree I'll complete with

  • extention method for Task<AndWhichConstraint<GenericAsyncFunctionAssertions, TResult>>
  • documentation, release notes, etc.
  • api validation update

Copy link
Copy Markdown
Member

@dennisdoomen dennisdoomen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also update the release notes

@lg2de lg2de force-pushed the AsyncWithResult branch 2 times, most recently from 78dc921 to 8683dea Compare January 31, 2021 16:14
@lg2de lg2de marked this pull request as ready for review January 31, 2021 16:17
@dennisdoomen
Copy link
Copy Markdown
Member

@lg2de can you please rebase the PR so we can merge it?

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