lib/jasmine.junit-reporter.js
function(savePath, consolidate, useDotNotation, filePrefix, consolidateAll) {
        this.savePath = savePath || '';
        this.consolidate = consolidate === jasmine.undefined ? true : consolidate;
        this.consolidateAll = consolidateAll === jasmine.undefined ? false : consolidateAll;
        this.useDotNotation = useDotNotation === jasmine.undefined ? true : useDotNotation;
        this.filePrefix = filePrefix || (this.consolidateAll ? 'junitresults' : 'TEST-');
    }
function(savePath, consolidate, useDotNotation, filePrefix, consolidateAll) {
        this.savePath = savePath || '';
        this.consolidate = consolidate === jasmine.undefined ? true : consolidate;
        this.consolidateAll = consolidateAll === jasmine.undefined ? false : consolidateAll;
        this.useDotNotation = useDotNotation === jasmine.undefined ? true : useDotNotation;
        this.filePrefix = filePrefix || (this.consolidateAll ? 'junitresults' : 'TEST-');
    }
function ( savePath , consolidate , useDotNotation , filePrefix , consolidateAll ) { this . savePath = savePath || '' ; this . consolidate = consolidate === jasmine . undefined ? true : consolidate ; this . consolidateAll = consolidateAll === jasmine . undefined ? false : consolidateAll ; this . useDotNotation = useDotNotation === jasmine . undefined ? true : useDotNotation ; this . filePrefix = filePrefix || ( this . consolidateAll ? 'junitresults' : 'TEST-' ) ; }
Generates JUnit XML for the given spec run.
Allows the test results to be used in java based CI
systems like CruiseControl and Hudson.

@param {string} [savePath] where to save the files
@param {boolean} [consolidate] whether to save nested describes within the
same file as their parent; default: true
@param {boolean} [useDotNotation] whether to separate suite names with
dots rather than spaces (ie "Class.init" not
"Class init"); default: true
@param {string} [filePrefix] is the string value that is prepended to the
xml output file; default: 'TEST-'
@param {boolean} [consolidateAll] whether to save test results from different
specs all in a single file; filePrefix is then the whole file
name without extension; default: false
Generates JUnit XML for the given spec run . Allows the test results to be used in java based CI systems like CruiseControl and Hudson .