arjuna.tpi.ddauto.DataSourceBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of arjuna-java Show documentation
Show all versions of arjuna-java Show documentation
Arjuna-Java is the client implementation in Java for development of test automation using Arjuna. It uses TestNG as the test engine. With minor tweaks, it can be used with any other test engine or custom test automation implementations. Arjuna is a Python based test automation framework developed by Rahul Verma (www.rahulverma.net)
The newest version!
package arjuna.tpi.ddauto;
import arjuna.client.databroker.DataContainerBuilder;
import arjuna.client.databroker.FileDataSourceBuilder;
import arjuna.client.databroker.SetuDataSourceBuilder;
import arjuna.client.testsession.TestSession;
public class DataSourceBuilder{
private TestSession session;
public DataSourceBuilder(TestSession session) {
this.session = session;
}
public FileDataSourceBuilder fileListDataSource(String fileName) {
return SetuDataSourceBuilder.fileListDataContainer(session, fileName);
}
public FileDataSourceBuilder fileMapDataSource(String fileName) {
return SetuDataSourceBuilder.fileMapDataContainer(session, fileName);
}
public DataContainerBuilder listDataContainer() {
return SetuDataSourceBuilder.listDataContainer();
}
public DataContainerBuilder mapDataContainer(String... headers) throws Exception {
return SetuDataSourceBuilder.mapDataContainer(headers);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy