← Back to team overview

nunit-core team mailing list archive

Re: [Bug 1057981] Re: C#5 async tests are not supported

 

Purely out of interest for the interesting, Simone, can I tag along, too? I
have a few doubts on the new implementation of the new CLR (Server GC)
background GC and a separate GC thread for each processor plus the work
stealing mode (no pun), which may also come into play in this scenario.

Regards,

Jv

On Fri, Sep 28, 2012 at 2:43 PM, Simone Busoli
<1057981@xxxxxxxxxxxxxxxxxx>wrote:

> I believe this deserves implementing.
>
> Charlie, do you mind if I look into it?
>
> --
> 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
>


-- 
Regards,

Ravichandran Jv
http://ravichandranjv.blogspot.com

-- 
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


References