Skip to content

Document that ThrowsAsync returns a Task #1180

@stevenaw

Description

@stevenaw

Version 5 of NUnit changes the signature of the following:

  • ThrowsAsync
  • CatchAsync
  • DoesNotThrowAsync

To return an awaitable. Documentation should be updated to reflect the new signature. The PR which introduces the change: nunit/nunit#5268

One example page:
https://docs.nunit.org/articles/nunit/writing-tests/assertions/classic-assertions/Assert.ThrowsAsync.html

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions