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

com.tngtech.jgiven.testng.ScenarioTest Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
package com.tngtech.jgiven.testng;

import com.tngtech.jgiven.impl.ScenarioHolder;
import org.testng.annotations.Listeners;

import com.tngtech.jgiven.base.ScenarioTestBase;
import com.tngtech.jgiven.impl.Scenario;

@Listeners( ScenarioTestListener.class )
public class ScenarioTest extends ScenarioTestBase {

    @Override
    public Scenario getScenario() {
        return (Scenario) ScenarioHolder.get().getScenarioOfCurrentThread();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy