Add ThrowAsync, ThrowExactlyAsync and NotThrowAsync#931
Add ThrowAsync, ThrowExactlyAsync and NotThrowAsync#931jnyrup merged 4 commits intofluentassertions:masterfrom
ThrowAsync, ThrowExactlyAsync and NotThrowAsync#931Conversation
jnyrup
left a comment
There was a problem hiding this comment.
The other exception assertions have the ThrowExactly extension located in AssertionExtensions.Actions.cs.
To provide the same set of assertions for the async version, ThrowExactlyAsync should be added.
It would be nice with a test exercising that ThrowAsync<TException> also works for derived types of TException, like When_subject_throws_subclass_of_expected_exact_exception_it_should_fail does.
1fe1a12 to
1d140fa
Compare
|
@jnyrup I have just added |
ThrowAsync and NotThrowAsyncThrowAsync, ThrowExactlyAsync and NotThrowAsync
1d140fa to
d2de932
Compare
|
I have just completed fixes after the second review |
|
Any plans of release this soon? I just started using FluentAssertion and this is exactly what I needed. |
|
@nerdpad yes, we're also quite eager to get out a new release with all the new features, fixes and other improvements. |
Closes #851.