docs: function results2xml(errorsNumber) {
          errorCount = 0;
          var result = ['<testsuite name="root" errors="' + errorsNumber + '">'];
          Object.keys(results).forEach(function(suite) {
              result.push('\r\n\t<testsuite name="' + escapeXML(suite) + '">');
              Object.keys(results[suite]).forEach(function(testcase) {
                  result.push('\r\n\t\t<testcase name="' +
                  escapeXML(testcase) + '">');
                  results[suite][testcase].forEach(function(err) {
                      result.push('\r\n\t\t\t<failure>\r\n\t\t\t\t' +
                      escapeXML(JSON.stringify(err)) +
                      '\r\n\t\t\t</failure>');
                  });
                  result.push('\r\n\t\t</testcase>');
              });
              result.push('\r\n\t</testsuite>\n');
          });
          result.push('</testsuite>\n');
          return result.join('');
      }