2

DUnit offers a context menu item "Expand all" and "Hide Test Nodes". In my test projects however, choosing the latter option still leaves very many test suite hierarchy nodes open. Only the test nodes on the last level are hidden. Is there a secret key which collapses all nodes, or all but the highest level?

mjn
  • 36,362
  • 28
  • 176
  • 378

1 Answers1

4

There is nothing built in already that can be enabled with a "secret key" or suchlike.

You have to modify the DUnit source to achieve this. Look in GUITestRunner and add an item to the pmTestTree popup menu which calls TestTree.FullCollapse.

David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490