All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.sii.sonar.web.frontend.js.coverage.LcovIntegrationCoverageSensor Maven / Gradle / Ivy

Go to download

Consume reports generated by jshint for code quality. Also consume reports for code duplication (either simian or cpd). Consumes the unit/integration tests reports (generated by Jasmin) coverage report (lcov generated by Istanbul). The information generated by reports are added in Sonar

There is a newer version: 2.1.0
Show newest version
package fr.sii.sonar.web.frontend.js.coverage;

import fr.sii.sonar.coverage.lcov.factory.LcovProviderFactory;
import fr.sii.sonar.report.core.common.PluginDependencies;
import fr.sii.sonar.report.core.common.ReportSensor;
import fr.sii.sonar.report.core.coverage.domain.CoverageReport;
import fr.sii.sonar.report.core.coverage.factory.IntegrationCoverageSaverFactory;

/**
 * Sensor specific to JavaScript code coverage for integration tests that loads LCOV report
 * 
 * @author Aurélien Baudet
 *
 */
public class LcovIntegrationCoverageSensor extends ReportSensor {

	public LcovIntegrationCoverageSensor(LcovIntegrationCoverageConstants constants, PluginDependencies pluginDependencies) {
		super(constants, pluginDependencies, new LcovProviderFactory(), new IntegrationCoverageSaverFactory());
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy