Updated the classnames output by the jenkins reporter to have nicer test results

This commit is contained in:
Spencer Alger
2013-12-15 14:32:21 -07:00
parent 37cd2f4f6c
commit fed7d1b0cb

View File

@ -50,9 +50,9 @@ function makeJUnitXml(runnerName, testDetails) {
var section;
if (suiteInfo.name.match(/\/.*\.yaml$/)) {
section = suiteInfo.name.split('/').slice(0, -1).join('/');
section = suiteInfo.name.split('/').slice(0, -1).join('/').replace(/\./g, '/');
} else {
section = suiteInfo.name;
section = suiteInfo.name.replace(/\./g, ',');
}
var testcase = suite.ele('testcase', {