ru.yandex.qatools.allure.data.providers.DataProvider Maven / Gradle / Ivy
package ru.yandex.qatools.allure.data.providers;
import java.io.File;
/**
* @author Dmitry Baev [email protected]
* Date: 06.12.13
*
* Used to provide data to output directory. Find provides using Java SPI
* @see ru.yandex.qatools.allure.data.utils.ServiceLoaderUtils
*/
public interface DataProvider {
/**
* Provide some info to specified directory
*
* @param testPack marshaled {@link ru.yandex.qatools.allure.data.AllureTestRun}
* with info about tests
* @param outputDirectory specified directory
* @return number of bytes written to outputDirectory
*/
long provide(String testPack, File[] inputDirectories, File outputDirectory);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy