lib/html_formatter.js
function getHeader(scenariosNumber, passedScenarios, stepsNumber, passedSteps, elapsedTime) {
        var template = grunt.file.read(templates.headerTemplate),
            header = grunt.template.process(template, {
                data: {
                    status: areTestsPassed(scenariosNumber, passedScenarios) ? 'passed' : 'failed',
                    scenariosSummary: scenariosNumber + ' scenarios ' + '(' + passedScenarios + ' passed)',
                    stepsSummary: stepsNumber + ' steps ' + '(' + passedSteps + ' passed)',
                    reportDate: getCurrentDate(),
                    reportTitle: reportTitle,
                    elapsedTime: elapsedTime
                }
            });
        return header;
    }
function getHeader(scenariosNumber, passedScenarios, stepsNumber, passedSteps, elapsedTime) {
        var template = grunt.file.read(templates.headerTemplate),
            header = grunt.template.process(template, {
                data: {
                    status: areTestsPassed(scenariosNumber, passedScenarios) ? 'passed' : 'failed',
                    scenariosSummary: scenariosNumber + ' scenarios ' + '(' + passedScenarios + ' passed)',
                    stepsSummary: stepsNumber + ' steps ' + '(' + passedSteps + ' passed)',
                    reportDate: getCurrentDate(),
                    reportTitle: reportTitle,
                    elapsedTime: elapsedTime
                }
            });
        return header;
    }
function getHeader ( scenariosNumber , passedScenarios , stepsNumber , passedSteps , elapsedTime ) { var template = grunt . file . read ( templates . headerTemplate ) , header = grunt . template . process ( template , { data : { status : areTestsPassed ( scenariosNumber , passedScenarios ) ? 'passed' : 'failed' , scenariosSummary : scenariosNumber + ' scenarios ' + '(' + passedScenarios + ' passed)' , stepsSummary : stepsNumber + ' steps ' + '(' + passedSteps + ' passed)' , reportDate : getCurrentDate ( ) , reportTitle : reportTitle , elapsedTime : elapsedTime } } ) ; return header ; }
Return header html code  based on header template
@param scenariosNumber
@param passedScenarios
@param stepsNumber
@param passedSteps
@returns {*}
Return header html code based on header template