karma - Specify output for JUnit XML (when used)
authorTim Otten <totten@civicrm.org>
Tue, 27 Jan 2015 07:25:46 +0000 (23:25 -0800)
committerTim Otten <totten@civicrm.org>
Tue, 27 Jan 2015 07:25:46 +0000 (23:25 -0800)
.gitignore
tests/karma.conf.js

index 9e086e9b90955495844c45550cbb59b7525322de..9e557754c1a9b91125381a85adf83cdabe6c3a74 100644 (file)
@@ -147,6 +147,7 @@ drupal/
 WordPress
 joomla
 packages/
+tests/output
 tests/phpunit/CiviTest/civicrm.settings.local.php
 tests/phpunit/CiviTest/truncate.xml
 tools/scripts/releaser/releaser.conf
index 1f977dc7e81d0216b1eaa2edf9936324bc602880..356acec932a566ceccbc6f5c1d5a05aedfae0871 100644 (file)
@@ -31,6 +31,10 @@ module.exports = function(config) {
     logLevel: config.LOG_INFO,
     port: 9876,
     reporters: ['progress'],
+    junitReporter: {
+      outputFile: 'tests/output/karma.xml',
+      suite: ''
+    },
     singleRun: false
   });
 };