← Back to team overview

nunit-core team mailing list archive

[Bug 684821] [NEW] ResultSummarizer doesn't count tests with [RequiresSTA]

 

Public bug reported:

>From Patrick (support@xxxxxxxxxx)

I found a problem in NUnit.
I am refactoring the way my tests are executed and found out that when running through
NUnit.ConsoleRunner.Runner.Main()

the ResultSummarizer doesn't count tests in a test suite class tagged
with [RequiresSTA], I guess it is because they are ran on a separate
thread

investigating further, by putting a breakpoint I can see that 'STA tests' are runned, when running through
NUnit.ConsoleRunner.Runner.Main()

but if one of the 'STA tests' is in error, a F is shown in the list of
dots, but the error is not reported in the ResultSummarizer

Let me know if I can help further,

** 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/684821

Title:
  ResultSummarizer doesn't count tests with [RequiresSTA]

Status in NUnit V2 Test Framework:
  New

Bug description:
  From Patrick (support@xxxxxxxxxx)

I found a problem in NUnit.
I am refactoring the way my tests are executed and found out that when running through
NUnit.ConsoleRunner.Runner.Main()

the ResultSummarizer doesn't count tests in a test suite class tagged with [RequiresSTA], I guess it is because they are ran on a separate thread

investigating further, by putting a breakpoint I can see that 'STA tests' are runned, when running through
NUnit.ConsoleRunner.Runner.Main()

but if one of the 'STA tests' is in error, a F is shown in the list of dots, but the error is not reported in the ResultSummarizer

Let me know if I can help further,





Follow ups

References