|
@@ -309,6 +309,16 @@ gulp.task("tests-modules", function() {
|
|
|
return new Promise(function(resolve, reject) {
|
|
|
var kamaServerOptions = {
|
|
|
configFile: rootDir + "tests/modules/karma.conf.js",
|
|
|
+
|
|
|
+ junitReporter: {
|
|
|
+ outputDir: '.temp/testResults', // results will be saved as $outputDir/$browserName.xml
|
|
|
+ outputFile: test.reportName + '.xml', // if included, results will be saved as $outputDir/$browserName/$outputFile
|
|
|
+ suite: test.displayName, // suite will become the package name attribute in xml testsuite element
|
|
|
+ useBrowserName: false, // add browser name to report and classes names
|
|
|
+ nameFormatter: undefined, // function (browser, result) to customize the name attribute in xml testcase element
|
|
|
+ classNameFormatter: undefined, // function (browser, result) to customize the classname attribute in xml testcase element
|
|
|
+ properties: {} // key value pair of properties to add to the <properties> section of the report
|
|
|
+ },
|
|
|
};
|
|
|
|
|
|
var server = new karmaServer(kamaServerOptions, (err) => {
|