On 8/15/06, Fergal Daly <[EMAIL PROTECTED]> wrote:
I'm actualy talking about TestSuite objects. Here's some Python

[snip example]

So the structure is like this:

all_suites
  suite1
    ATest
      testFooBar
      testOther
    AnotherTest
      testBuz
  suite2
    ...
  SomeOtherTest
    ...

TAP cannot represent this nested structure.

FWIW, I've never come across a situation using unittest where knowing
the structure would be important (though I can imagine such cases).
The cases I've seen have all been along the lines of "I need to
collect all the tests in my test suite, so I'll pull all tests from my
test modules into a suite (or suite-of-suites)". In my experience, the
more important hierarchical information is of the form
$module_name.$test_case_name.$test_method_name, which TAP can handle.

What has your experience been?

Collin Winter

Reply via email to