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

com.qmetry.qaf.automation.cucumber.bdd2.model.BDD2ScenarioOutline Maven / Gradle / Ivy

Go to download

Functional test automation framework for web, mobile-web, mobile native and web-service

There is a newer version: 4.0.0-RC3
Show newest version
package com.qmetry.qaf.automation.cucumber.bdd2.model;


import java.util.Collection;
import java.util.List;
import java.util.stream.Collectors;

import gherkin.ast.ScenarioDefinition;
import io.cucumber.core.gherkin.Examples;
import io.cucumber.core.gherkin.ScenarioOutline;

public class BDD2ScenarioOutline extends BDD2Scenario implements ScenarioOutline {
	private final List children;

    BDD2ScenarioOutline(ScenarioDefinition scenarioDefinition) {
        super(scenarioDefinition);
        this.children = ((gherkin.ast.ScenarioOutline) scenarioDefinition).getExamples().stream()
                .map(BDD2Examples::new)
                .collect(Collectors.toList());
    }

	@Override
	public Collection children() {
        return children;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy