diff options
author | Pete Richards <peter.l.richards@nasa.gov> | 2016-03-01 23:53:32 +0300 |
---|---|---|
committer | Pete Richards <peter.l.richards@nasa.gov> | 2016-03-01 23:53:32 +0300 |
commit | d9b2034550a2f1cc29f1d99741b99b0710dd3a86 (patch) | |
tree | ed81bff5f210aac771757ce9a41a460278513115 /karma.conf.js | |
parent | 183bd9793c71b0593c9accc08a575eb4e12ee7f7 (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.js | 6 |
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 |