Activity log for bug #691455

Date Who What changed Old value New value Message
2010-12-17 09:00:13 Josh bug added bug
2011-03-11 05:17:19 Charlie Poole nunitv2: status New Incomplete
2011-03-16 19:33:07 Charlie Poole nunitv2: status Incomplete New
2011-03-16 19:34:52 Charlie Poole affects nunitv2 nunit-3.0
2013-10-05 05:04:59 Charlie Poole nunit-3.0: status New Triaged
2013-10-05 05:05:02 Charlie Poole nunit-3.0: importance Undecided Wishlist
2013-10-28 03:14:13 Charlie Poole description NUnit version 2.5.7 Runner: Console and GUI Feature Request: I'd love to have the ability to override a test's result (e.g. Pass/Fail/Error) in the [TearDown] method along with the option to overwrite the error message. Some more background: I just started with a team that uses NUnit for running for automation testing. Given that NUnit is specifically built for unit testing, I've been surprised just how well it meets our needs. The only hangup I currently have is that we have certain classes of errors that only occur on threads other than the main thread. Without going into details, it's basically impossible for us respond to these errors on the main thread without adding code everywhere to poll if any of these errors have occurred, and if so, Assert.Fail(). Without detecting the errors at all, our code ends up asserting or throwing an exception for something else on the main thread which just ends up obfuscating the real problem in the resulting TestResult.xml file. I understand why NUnit doesn't pick up assertions/exceptions on different threads, but we could easily workaround this if we had the ability to override the test result and error message in the [TearDown] method. At that point we'd know if any of these errors had occurred and could signal the test as failing and give a more appropriate message. [Issue now tracked at https://github.com/nunit/nunit-framework/issues/49] NUnit version 2.5.7 Runner: Console and GUI Feature Request: I'd love to have the ability to override a test's result (e.g. Pass/Fail/Error) in the [TearDown] method along with the option to overwrite the error message. Some more background: I just started with a team that uses NUnit for running for automation testing. Given that NUnit is specifically built for unit testing, I've been surprised just how well it meets our needs. The only hangup I currently have is that we have certain classes of errors that only occur on threads other than the main thread. Without going into details, it's basically impossible for us respond to these errors on the main thread without adding code everywhere to poll if any of these errors have occurred, and if so, Assert.Fail(). Without detecting the errors at all, our code ends up asserting or throwing an exception for something else on the main thread which just ends up obfuscating the real problem in the resulting TestResult.xml file. I understand why NUnit doesn't pick up assertions/exceptions on different threads, but we could easily workaround this if we had the ability to override the test result and error message in the [TearDown] method. At that point we'd know if any of these errors had occurred and could signal the test as failing and give a more appropriate message.
2013-10-28 03:14:32 Charlie Poole tags feature feature github