Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nasa/openmct.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Richards <peter.l.richards@nasa.gov>2016-03-01 23:53:32 +0300
committerPete Richards <peter.l.richards@nasa.gov>2016-03-01 23:53:32 +0300
commitd9b2034550a2f1cc29f1d99741b99b0710dd3a86 (patch)
treeed81bff5f210aac771757ce9a41a460278513115 /karma.conf.js
parent183bd9793c71b0593c9accc08a575eb4e12ee7f7 (diff)
[Tests] Add jUnit reporter
Add jUnit reporter to allow CircleCI to store test results.
Diffstat (limited to 'karma.conf.js')
-rw-r--r--karma.conf.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/karma.conf.js b/karma.conf.js
index e63b6712e..d4abaf1e9 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -58,7 +58,7 @@ module.exports = function(config) {
// Test results reporter to use
// Possible values: 'dots', 'progress'
// Available reporters: https://npmjs.org/browse/keyword/karma-reporter
- reporters: ['progress', 'coverage', 'html'],
+ reporters: ['progress', 'coverage', 'html', 'junit'],
// Web server port.
port: 9876,
@@ -89,6 +89,10 @@ module.exports = function(config) {
foldAll: false
},
+ junitReporter: {
+ outputDir: process.env.CIRCLE_TEST_REPORTS || 'target/junit',
+ },
+
// Continuous Integration mode.
// If true, Karma captures browsers, runs the tests and exits.
singleRun: true