docs: function(tc) {
              var t = this;
              var output = '';
              if (tc.getResult() != TestCase.UNTESTED) {
  
                  output += '        <testcase name="' + encode(tc.getName()) + '"'
                      + ' time="' + (tc.getDuration() / 1000) + '">\n';
  
                  if (tc.getResult() == TestCase.SKIPPED) {
                      output += '            <skipped></skipped>\n';
                  }
  
                  tc.getAssertions().forEach(
                      function(assertion) {
                          output += t.getAssertion(assertion);
                      }
                  );
  
                  var ge = tc.getGeneralError();
                  if (ge) {
                      output += t.getError(ge);
                  }
  
                  output += '        </testcase>\n';
              }
              return output;
          }