Assert.ThrowsException the async way
Read OriginalThe article addresses a pitfall in the Windows Phone Test Framework where Assert.ThrowsException doesn't natively support async code. It provides a custom implementation of ThrowsExceptionAsync methods for Windows Phone, complete with code examples and usage instructions for writing unit tests that properly handle asynchronous exceptions.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser