فهرست منبع

Update test result suite name for azure ops

sebavan 6 سال پیش
والد
کامیت
794e5f2581
5فایلهای تغییر یافته به همراه42 افزوده شده و 1 حذف شده
  1. 10 0
      Viewer/tests/karma.conf.js
  2. 10 0
      Viewer/tests/validation/karma.conf.js
  3. 10 0
      tests/modules/karma.conf.js
  4. 2 1
      tests/unit/karma.conf.js
  5. 10 0
      tests/validation/karma.conf.js

+ 10 - 0
Viewer/tests/karma.conf.js

@@ -36,6 +36,16 @@ module.exports = function (config) {
 
         reporters: ['progress', 'junit'],
 
+        plugins: [
+            'karma-mocha',
+            'karma-chai',
+            'karma-sinon',
+            'karma-chrome-launcher',
+            'karma-firefox-launcher',
+
+            require('../../Tools/Gulp/helpers/gulp-karmaJunitPlugin')
+        ],
+
         junitReporter: {
             outputDir: '../.temp/testResults', // results will be saved as $outputDir/$browserName.xml
             outputFile: 'ViewerUnitTests.xml', // if included, results will be saved as $outputDir/$browserName/$outputFile

+ 10 - 0
Viewer/tests/validation/karma.conf.js

@@ -36,6 +36,16 @@ module.exports = function (config) {
 
         reporters: ['progress', 'junit'],
 
+        plugins: [
+            'karma-mocha',
+            'karma-chai',
+            'karma-sinon',
+            'karma-chrome-launcher',
+            'karma-firefox-launcher',
+
+            require('../../Tools/Gulp/helpers/gulp-karmaJunitPlugin')
+        ],
+
         junitReporter: {
             outputDir: '../.temp/testResults', // results will be saved as $outputDir/$browserName.xml
             outputFile: 'ViewerValidationTests.xml', // if included, results will be saved as $outputDir/$browserName/$outputFile

+ 10 - 0
tests/modules/karma.conf.js

@@ -36,6 +36,16 @@ module.exports = function (config) {
 
         reporters: ['progress', 'junit'],
 
+        plugins: [
+            'karma-mocha',
+            'karma-chai',
+            'karma-sinon',
+            'karma-chrome-launcher',
+            'karma-firefox-launcher',
+
+            require('../../Tools/Gulp/helpers/gulp-karmaJunitPlugin')
+        ],
+
         junitReporter: {
             outputDir: '.temp/testResults', // results will be saved as $outputDir/$browserName.xml
             outputFile: 'ModuleTests.xml', // if included, results will be saved as $outputDir/$browserName/$outputFile

+ 2 - 1
tests/unit/karma.conf.js

@@ -51,11 +51,12 @@ module.exports = function (config) {
         reporters: ['progress', 'junit'],
 
         plugins: [
-            // Karma will require() these plugins
             'karma-mocha',
             'karma-chai',
             'karma-sinon',
             'karma-chrome-launcher',
+            'karma-firefox-launcher',
+
             require('../../Tools/Gulp/helpers/gulp-karmaJunitPlugin')
         ],
 

+ 10 - 0
tests/validation/karma.conf.js

@@ -44,6 +44,16 @@ module.exports = function (config) {
 
         reporters: ['progress', 'junit'],
 
+        plugins: [
+            'karma-mocha',
+            'karma-chai',
+            'karma-sinon',
+            'karma-chrome-launcher',
+            'karma-firefox-launcher',
+
+            require('../../Tools/Gulp/helpers/gulp-karmaJunitPlugin')
+        ],
+
         junitReporter: {
             outputDir: '.temp/testResults', // results will be saved as $outputDir/$browserName.xml
             outputFile: 'ValidationTests.xml', // if included, results will be saved as $outputDir/$browserName/$outputFile