Comparing version 0.0.16 to 0.0.17
@@ -273,2 +273,3 @@ /// <reference types="../types/chai" /> | ||
constructor(runner: Runner, options: MochaOptions); | ||
private formatTitle; | ||
private escape; | ||
@@ -275,0 +276,0 @@ } |
@@ -7,3 +7,4 @@ import { Runner, reporters, MochaOptions } from "mocha"; | ||
constructor(runner: Runner, options: MochaOptions); | ||
private formatTitle; | ||
private escape; | ||
} |
@@ -36,20 +36,40 @@ "use strict"; | ||
images | ||
} = options.reporterOptions; | ||
runner.on("suite", suite => suite.root ? console.log(`##teamcity[testSuiteStarted name='${topLevelSuite}' flowId='${process.pid}']`) : console.log(`##teamcity[testSuiteStarted name='${this.escape(suite.title)}' flowId='${process.pid}']`)); | ||
runner.on("test", test => console.log(`##teamcity[testStarted name='${this.escape(test.title)}' flowId='${process.pid}']`)); | ||
} = options.reporterOptions; // runner.on("suite", suite => | ||
// suite.root | ||
// ? console.log(`##teamcity[testSuiteStarted name='${topLevelSuite}' flowId='${process.pid}']`) | ||
// : console.log(`##teamcity[testSuiteStarted name='${this.escape(suite.title)}' flowId='${process.pid}']`) | ||
// ); | ||
runner.on("test", test => console.log(`##teamcity[testStarted name='${this.formatTitle(topLevelSuite, test.titlePath())}' flowId='${process.pid}']`)); | ||
runner.on("fail", (test, error) => { | ||
Object.values(images()).forEach(image => { | ||
if (!image) return; | ||
Object.values(image).filter(_types.isDefined).forEach(imageName => console.log(`##teamcity[testMetadata testName='${this.escape(test.title)}' type='image' value='report.zip!/${test.titlePath().map(this.escape).join("/")}/${topLevelSuite}/${imageName}' flowId='${process.pid}']`)); | ||
Object.values(image).filter(_types.isDefined).forEach(imageName => console.log(`##teamcity[testMetadata testName='${this.formatTitle(topLevelSuite, test.titlePath())}' type='image' value='report.zip!/${test.titlePath().map(this.escape).join("/")}/${topLevelSuite}/${imageName}' flowId='${process.pid}']`)); | ||
}); // Output failed test as passed due TC don't support retry mechanic | ||
// https://teamcity-support.jetbrains.com/hc/en-us/community/posts/207216829-Count-test-as-successful-if-at-least-one-try-is-successful?page=1#community_comment_207394125 | ||
willRetry() ? console.log(`##teamcity[testFinished name='${this.escape(test.title)}' flowId='${process.pid}']`) : console.log(`##teamcity[testFailed name='${this.escape(test.title)}' message='${this.escape(error.message)}' details='${this.escape(error.stack)}' flowId='${process.pid}']`); | ||
}); | ||
runner.on("pending", test => console.log(`##teamcity[testIgnored name='${this.escape(test.title)}' message='${this.escape(test.title)}' flowId='${process.pid}']`)); | ||
runner.on("test end", test => console.log(`##teamcity[testFinished name='${this.escape(test.title)}' flowId='${process.pid}']`)); | ||
runner.on("suite end", suite => suite.root || console.log(`##teamcity[testSuiteFinished name='${this.escape(suite.title)}' flowId='${process.pid}']`)); | ||
runner.on("end", () => console.log(`##teamcity[testSuiteFinished name='${topLevelSuite}' flowId='${process.pid}']`)); | ||
willRetry() ? console.log(`##teamcity[testFinished name='${this.formatTitle(topLevelSuite, test.titlePath())}' flowId='${process.pid}']`) : console.log(`##teamcity[testFailed name='${this.formatTitle(topLevelSuite, test.titlePath())}' message='${this.escape(error.message)}' details='${this.escape(error.stack)}' flowId='${process.pid}']`); | ||
}); // runner.on("pending", test => | ||
// console.log( | ||
// `##teamcity[testIgnored name='${this.escape(test.title)}' message='${this.escape(test.title)}' flowId='${ | ||
// process.pid | ||
// }']` | ||
// ) | ||
// ); | ||
runner.on("test end", test => console.log(`##teamcity[testFinished name='${this.formatTitle(topLevelSuite, test.titlePath())}' flowId='${process.pid}']`)); // runner.on( | ||
// "suite end", | ||
// suite => | ||
// suite.root || | ||
// console.log(`##teamcity[testSuiteFinished name='${this.escape(suite.title)}' flowId='${process.pid}']`) | ||
// ); | ||
// runner.on("end", () => | ||
// console.log(`##teamcity[testSuiteFinished name='${topLevelSuite}' flowId='${process.pid}']`) | ||
// ); | ||
} | ||
formatTitle(topLevelSuite, titlePath) { | ||
return `${topLevelSuite}.${titlePath.map(this.escape).join(".")}`; | ||
} | ||
escape(str) { | ||
@@ -63,2 +83,2 @@ if (!str) return ""; | ||
exports.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iAgICAgIC5yZXBsYWNlKC9cXHgxQi4qP20vZywgXCJcIilcbiAgICAgIC5yZXBsYWNlKC9cXHwvZywgXCJ8fFwiKVxuICAgICAgLnJlcGxhY2UoL1xcbi9nLCBcInxuXCIpXG4gICAgICAucmVwbGFjZSgvXFxyL2csIFwifHJcIilcbiAgICAgIC5yZXBsYWNlKC9cXFsvZywgXCJ8W1wiKVxuICAgICAgLnJlcGxhY2UoL1xcXS9nLCBcInxdXCIpXG4gICAgICAucmVwbGFjZSgvXFx1MDA4NS9nLCBcInx4XCIpXG4gICAgICAucmVwbGFjZSgvXFx1MjAyOC9nLCBcInxsXCIpXG4gICAgICAucmVwbGFjZSgvXFx1MjAyOS9nLCBcInxwXCIpXG4gICAgICAucmVwbGFjZSgvJy9nLCBcInwnXCIpO1xuICB9XG59XG4iXX0= |
{ | ||
"name": "creevey", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"bin": { | ||
@@ -5,0 +5,0 @@ "creevey": "./lib/cli.js" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
721613
2503