docs: function (node) {
                  var parentNode;
  
                  if (typeof node.testObject == "object" && node !== null){
                      parentNode = node.parent;
  
                      if (parentNode){
                          parentNode.results.include(node.results);
                          parentNode.results[node.testObject.name] = node.results;
                      }
  
                      if (node.testObject instanceof YUITest.TestSuite){
                          this._execNonTestMethod(node, "tearDown", false);
                          node.results.duration = (new Date()) - node._start;
                          this.fire({ type: this.TEST_SUITE_COMPLETE_EVENT, testSuite: node.testObject, results: node.results});
                      } else if (node.testObject instanceof YUITest.TestCase){
                          this._execNonTestMethod(node, "destroy", false);
                          node.results.duration = (new Date()) - node._start;
                          this.fire({ type: this.TEST_CASE_COMPLETE_EVENT, testCase: node.testObject, results: node.results});
                      }
                  }
              }