← Back to team overview

nunit-core team mailing list archive

[Bug 782983] [NEW] Gui should display nested classes under their containing classes

 

Public bug reported:

Currently, the Gui displays nested classes entirely separately from the
classes that contain them. It would be more natural to display them as
children of the enclosing class. When the enclosing class is selected,
all nested classes will execute.

If the enclosing class is not itself a test fixture, then there is no
further affect.

If the enclosing class is a test fixture, then this will also impact the
order of test execution, whether the Gui is used or not. Nested fixtures
will execute only after the setup for the enclosing fixture completes.
They will not execute if that setup throws an exception. The enclosing
class teardown will execute only after all the teardowns for the nested
fixture complete. If the enclosing fixture contains test cases in
addition to the nested fixture, the order of execution between those
cases and the fixture is not defined.

** Affects: nunit-3.0
     Importance: Medium
         Status: Triaged


** Tags: feature gui

** Changed in: nunit-3.0
   Importance: Undecided => Medium

** Changed in: nunit-3.0
       Status: New => Triaged

** Tags added: feature gui

-- 
You received this bug notification because you are a member of NUnit
Core Developers, which is the registrant for NUnit Framework.
https://bugs.launchpad.net/bugs/782983

Title:
  Gui should display nested classes under their containing classes

Status in NUnit Test Framework:
  Triaged

Bug description:
  Currently, the Gui displays nested classes entirely separately from
  the classes that contain them. It would be more natural to display
  them as children of the enclosing class. When the enclosing class is
  selected, all nested classes will execute.

  If the enclosing class is not itself a test fixture, then there is no
  further affect.

  If the enclosing class is a test fixture, then this will also impact
  the order of test execution, whether the Gui is used or not. Nested
  fixtures will execute only after the setup for the enclosing fixture
  completes. They will not execute if that setup throws an exception.
  The enclosing class teardown will execute only after all the teardowns
  for the nested fixture complete. If the enclosing fixture contains
  test cases in addition to the nested fixture, the order of execution
  between those cases and the fixture is not defined.


Follow ups

References