Support async methods


Xunit, since the 1.9 release back in Jan, supports async methods. ( http://bradwilson.typepad.com/blog/2012/01/xunit19.html )

This test fails in the xunit console runner, but passes in the resharper runner:

public async void AsyncMethod()
 Assert.True(await Task.Run(() => false));
Closed Nov 15, 2012 at 12:06 PM by mattellis
Closed since xunit itself doesn't support void async methods.


damianh wrote Nov 4, 2012 at 1:27 PM

(I hate when this happens!)

Return Task instead of void.

BradWilson wrote Nov 4, 2012 at 11:18 PM

This a dup of http://xunit.codeplex.com/workitem/9752 (where the bug actually belongs anyway :)).