Package betsy.bpmn.reporting

Source Code of betsy.bpmn.reporting.BPMNReporter

package betsy.bpmn.reporting;

import betsy.bpmn.model.BPMNTestSuite;
import betsy.common.reporting.JUnitHtmlReports;
import betsy.common.reporting.JUnitXmlResultToCsvRow;

public class BPMNReporter {

    private final BPMNTestSuite tests;

    public BPMNReporter(BPMNTestSuite tests) {
        this.tests = tests;
    }

    public void createReports() {
        new JUnitHtmlReports(tests.getPath()).create();

        JUnitXmlResultToCsvRow row = new JUnitXmlResultToCsvRow();
        row.setXml(tests.getJUnitXMLFilePath());
        row.setCsv(tests.getCsvFilePath());
        row.create();
    }

}
TOP

Related Classes of betsy.bpmn.reporting.BPMNReporter

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.