** Changed in: nunit-3.0 Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of NUnit Developers, which is subscribed to NUnit V2. https://bugs.launchpad.net/bugs/1064014
Title: Simple async tests should not return Task<T> Status in NUnit Test Framework: Fix Released Status in NUnitLite Testing Framework: Fix Released Status in NUnit V2 Test Framework: Fix Released Bug description: NUnit does not allow simple tests (i.e. those marked with Test rather than TestCase) to return a value. If they do, they are flagged as invalid. By extension, we should not allow the async version of such tests to return Task<T>. In the existing implementation, this is allowed and the value is simply ignored silently. The following tests in AsyncRealFixture are runnable but should be non-runnable: AsyncTaskResultSuccess AsyncTaskResultFailure AsyncTaskResultError AsyncTaskResultExpectedException The following test in AsyncRealFixture is runnable but should be non-runnable TaskWithResult To manage notifications about this bug go to: https://bugs.launchpad.net/nunit-3.0/+bug/1064014/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~nunit-core Post to : nunit-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~nunit-core More help : https://help.launchpad.net/ListHelp