nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #02962
[Bug 1057981] [NEW] C#5 async tests are not supported
Public bug reported:
If a method is marked async, nunit does not recognise it as a test, and
some test runners may incorrectly pass it while it is still running.
These methods actually return a Task not void, and the test can only be
passed if the task completes without a failure.
As detailed here http://anthonysteele.co.uk/async-and-await-with-nunit
MSTest supports async tests
http://blogs.msdn.com/b/visualstudioalm/archive/2012/03/13/what-s-new-for-mstest-unit-tests-in-visual-studio-11-beta.aspx
** 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/1057981
Title:
C#5 async tests are not supported
Status in NUnit V2 Test Framework:
New
Bug description:
If a method is marked async, nunit does not recognise it as a test,
and some test runners may incorrectly pass it while it is still
running. These methods actually return a Task not void, and the test
can only be passed if the task completes without a failure.
As detailed here http://anthonysteele.co.uk/async-and-await-with-nunit
MSTest supports async tests
http://blogs.msdn.com/b/visualstudioalm/archive/2012/03/13/what-s-new-for-mstest-unit-tests-in-visual-studio-11-beta.aspx
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/1057981/+subscriptions
Follow ups
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Charlie Poole, 2013-10-05
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Charlie Poole, 2013-07-31
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Launchpad Bug Tracker, 2013-07-31
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Charlie Poole, 2013-07-17
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Tyrel Alastair Hunter, 2013-05-05
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Charlie Poole, 2012-12-23
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Charlie Poole, 2012-10-23
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Launchpad Bug Tracker, 2012-10-08
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Charlie Poole, 2012-10-08
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Charlie Poole, 2012-10-07
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Charlie Poole, 2012-10-06
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Charlie Poole, 2012-10-04
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Launchpad Bug Tracker, 2012-10-04
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Anthony Steele, 2012-10-01
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Simone Busoli, 2012-10-01
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Launchpad Bug Tracker, 2012-10-01
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Jv, 2012-09-30
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Charlie Poole, 2012-09-30
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Charlie Poole, 2012-09-28
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Charlie Poole, 2012-09-28
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Simone Busoli, 2012-09-28
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Simone Busoli, 2012-09-28
-
[Bug 1057981] Re: C#5 async tests are not supported
From: Simone Busoli, 2012-09-28
-
[Bug 1057981] [NEW] C#5 async tests are not supported
From: Anthony Steele, 2012-09-28
References