com.qmetry.qaf.automation.cucumber.QAFBackendProviderService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qaf-cucumber Show documentation
Show all versions of qaf-cucumber Show documentation
Functional test automation framework for web, mobile-web, mobile native and web-service
/**
*
*/
package com.qmetry.qaf.automation.cucumber;
import java.util.function.Supplier;
import io.cucumber.core.backend.Backend;
import io.cucumber.core.backend.BackendProviderService;
import io.cucumber.core.backend.Container;
import io.cucumber.core.backend.Lookup;
/**
* QAF Backend provider service for cucumber. This class will be used only when cucumber runner used to run BDD.
* @author chirag.jayswal
*
*/
public class QAFBackendProviderService implements BackendProviderService {
/* (non-Javadoc)
* @see io.cucumber.core.backend.BackendProviderService#create(io.cucumber.core.backend.Lookup, io.cucumber.core.backend.Container, java.util.function.Supplier)
*/
@Override
public Backend create(Lookup lookup, Container container, Supplier classLoader) {
return new QAFBackend(lookup, container, classLoader);
}
}