Sorry, I had modified the CUT, in the previous email, to make it pass and
sent you the corrected one instead.
Attached is the "buggy" one with the Thread.Sleep() on a synchronous Task
within an *async task method*.
Jv
On Sun, Oct 7, 2012 at 9:12 AM, Charlie Poole <email address hidden> wrote:
> At first glance, this seems to be an error in the test, not a bug
> in nunit. But if you think it's a bug, please provide some more
> information...
>
> 1) Tell us what version of NUnit you used to reproduce it.
>
> 2) If possible, please provide a test case (in text form, not a picture)
> that will reproduce the bug.
>
> 3) Tell us what you think NUnit should do instead of what it's doing.
>
> charlie
>
> --
> 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 Test Framework:
> Triaged
> Status in NUnitLite Testing Framework:
> Triaged
> Status in NUnit V2 Test Framework:
> Fix Committed
>
> 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/nunit-3.0/+bug/1057981/+subscriptions
>
Sorry, I had modified the CUT, in the previous email, to make it pass and
sent you the corrected one instead.
Attached is the "buggy" one with the Thread.Sleep() on a synchronous Task
within an *async task method*.
Jv
On Sun, Oct 7, 2012 at 9:12 AM, Charlie Poole <email address hidden> wrote:
> At first glance, this seems to be an error in the test, not a bug /bugs.launchpad .net/bugs/ 1057981 anthonysteele. co.uk/async- and-await- with-nunit blogs.msdn. com/b/visualstu dioalm/ archive/ 2012/03/ 13/what- s-new-for- mstest- unit-tests- in-visual- studio- 11-beta. aspx /bugs.launchpad .net/nunit- 3.0/+bug/ 1057981/ +subscriptions
> in nunit. But if you think it's a bug, please provide some more
> information...
>
> 1) Tell us what version of NUnit you used to reproduce it.
>
> 2) If possible, please provide a test case (in text form, not a picture)
> that will reproduce the bug.
>
> 3) Tell us what you think NUnit should do instead of what it's doing.
>
> charlie
>
> --
> You received this bug notification because you are a member of NUnit
> Developers, which is subscribed to NUnit V2.
> https:/
>
> Title:
> C#5 async tests are not supported
>
> Status in NUnit Test Framework:
> Triaged
> Status in NUnitLite Testing Framework:
> Triaged
> Status in NUnit V2 Test Framework:
> Fix Committed
>
> 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://
>
> MSTest supports async tests
>
> http://
>
> To manage notifications about this bug go to:
> https:/
>
--
Regards,
Ravichandran Jv ravichandranjv. blogspot. com
http://