Pedro Lamas 4/30/2013

Assert.ThrowsException the async way

Read Original

The 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.

Assert.ThrowsException the async way

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week