fun TestDescriptor.descriptor(testCase: TestCase): TestDescriptor
Creates a TestDescriptor for the given TestCase and attaches it to the receiver as a child. The created descriptor will have segment type Segment.Test.