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 11:06 AM by mattellis
Closed since xunit itself doesn't support void async methods.


damianh wrote Nov 4, 2012 at 12:27 PM

(I hate when this happens!)

Return Task instead of void.

BradWilson wrote Nov 4, 2012 at 10:18 PM

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