← Back to team overview

nunit-core team mailing list archive

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

 

** Changed in: nunitv2
       Status: New => In Progress

** Changed in: nunitv2
   Importance: Undecided => High

** Changed in: nunitv2
     Assignee: (unassigned) => Charlie Poole (charlie.poole)

** Changed in: nunitv2
    Milestone: None => 2.5.9

-- 
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:
  In Progress

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,





References