This project allows writing unit tests using the async/await keywords, without having to provide your own asynchronous context for each test.Installation
- Install the NuGet package while running VS as Administrator. If this is your first time installing the package on your machine, you'll have to restart Visual Studio.
- Download the Async Unit Test item template, which will give you an alternative to the non-async-friendly Unit Test item template.
See the Why Do I Need This
, Getting Started
, Optional Component
, and Advanced Usage
VS2012 officially supports asynchronous unit tests (you just have to make sure they return Task
, not void
), so this project is now in just a maintenance state.