increase test coverage for async-await
Closed this issue · 5 comments
nikomatsakis commented
As part of the async-await feature we want to make sure we have good test coverage. We have a master list of tests prepared by @cramertj and @Centril that we'd like to complete.
Centril commented
- #61775 (comment)
- Testing coverage for control flow operators especially
?. - Tests for
async unsafe fn.
delan commented
as discussed in #62518, I can do some async unsafe fn tests starting with
- Check that an
async unsafe fnrequiresunsafe { ... }to be called.
- Including
async unsafe fnimplementations...- Tangentially also test the behavior of
unsafe { async { $stuff } }wrt. allowing unsafe operations in$stuff.
Centril commented
Thanks to everyone who contributed tests! I believe the test suite is now substantially more robust than from the outset of starting the test drive. While it is desirable to continue the drive for tests (and please do contribute more tests in areas you find lacking!), I think the testsuite is non-blocking in terms of stabilization. Therefore I'm relabeling this to -Deferred.
nikomatsakis commented
This issue has served its purpose. I'm going to close. =)