nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #03217
[Bug 1071164] [NEW] Support async methods in usage scenarios of Throws constraints
Public bug reported:
Although we support async test methods, we're not handling other async
things properly. For instance this is not working as expected:
Assert.That(async () => await DoSomething(), Throws.Exception);
The reasons is the same as why we didn't support async methods: we are
not waiting until the function has completed its execution.
Additional details here: http://stackoverflow.com/questions/13056716
/async-unit-tests-not-working-as-expected
** Affects: nunitv2
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/1071164
Title:
Support async methods in usage scenarios of Throws constraints
Status in NUnit V2 Test Framework:
New
Bug description:
Although we support async test methods, we're not handling other async
things properly. For instance this is not working as expected:
Assert.That(async () => await DoSomething(), Throws.Exception);
The reasons is the same as why we didn't support async methods: we are
not waiting until the function has completed its execution.
Additional details here: http://stackoverflow.com/questions/13056716
/async-unit-tests-not-working-as-expected
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/1071164/+subscriptions
Follow ups
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Charlie Poole, 2013-10-11
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Charlie Poole, 2013-10-05
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Charlie Poole, 2013-08-18
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Launchpad Bug Tracker, 2013-08-18
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Charlie Poole, 2013-08-18
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Tyrel Alastair Hunter, 2013-05-05
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Charlie Poole, 2012-12-31
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Launchpad Bug Tracker, 2012-12-31
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Charlie Poole, 2012-12-23
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Charlie Poole, 2012-11-04
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Charlie Poole, 2012-11-03
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Charlie Poole, 2012-11-03
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Launchpad Bug Tracker, 2012-11-02
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Launchpad Bug Tracker, 2012-10-28
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Simone Busoli, 2012-10-26
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Charlie Poole, 2012-10-26
-
[Bug 1071164] Re: Support async methods in usage scenarios of Throws constraints
From: Simone Busoli, 2012-10-26
-
Re: [Bug 1071164] [NEW] Support async methods in usage scenarios of Throws constraints
From: Jv, 2012-10-25
-
[Bug 1071164] [NEW] Support async methods in usage scenarios of Throws constraints
From: Simone Busoli, 2012-10-25
References