lib/generate-report.js
/**
     * Generate the features overview
     * @param {object} suite JSON object with all the features and scenarios
     * @private
     */
Generate the features overview
@param {object} suite JSON object with all the features and scenarios
@private
Generate the features overview @param { object } suite JSON object with all the features and scenarios @private
function _createFeaturesOverviewIndexPage(suite) {
        const featuresOverviewIndex = path.resolve(reportPath, INDEX_HTML)
        fs.writeFileSync(
            featuresOverviewIndex,
            _.template(_readTemplateFile(FEATURES_OVERVIEW_INDEX_TEMPLATE))({
                suite: suite,
                customDataOverview: _.template(_readTemplateFile(CUSTOM_DATA_TEMPLATE))({
                    suite: suite,
                    _: _
                }),
                featuresOverviewChart: _.template(_readTemplateFile(FEATURES_OVERVIEW_CHART_TEMPLATE))({
                    suite: suite,
                    _: _
                }),
                pageTitle: pageTitle,
                reportName: reportName,
                pageFooter: pageFooter
            })
        )
    }
function _createFeaturesOverviewIndexPage ( suite ) { const featuresOverviewIndex = path . resolve ( reportPath , INDEX_HTML ) fs . writeFileSync ( featuresOverviewIndex , _ . template ( _readTemplateFile ( FEATURES_OVERVIEW_INDEX_TEMPLATE ) ) ( { suite : suite , customDataOverview : _ . template ( _readTemplateFile ( CUSTOM_DATA_TEMPLATE ) ) ( { suite : suite , _ : _ } ) , featuresOverviewChart : _ . template ( _readTemplateFile ( FEATURES_OVERVIEW_CHART_TEMPLATE ) ) ( { suite : suite , _ : _ } ) , pageTitle : pageTitle , reportName : reportName , pageFooter : pageFooter } ) ) }
Generate the features overview
 @param {object} suite JSON object with all the features and scenarios
 @private
Generate the features overview @param { object } suite JSON object with all the features and scenarios @private