com.tngtech.jgiven.testng.DualScenarioTest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jgiven-testng Show documentation
Show all versions of jgiven-testng Show documentation
Module to write JGiven tests with TestNG
The newest version!
package com.tngtech.jgiven.testng;
import com.tngtech.jgiven.base.DualScenarioTestBase;
import com.tngtech.jgiven.impl.Scenario;
import com.tngtech.jgiven.impl.ScenarioHolder;
import org.testng.annotations.Listeners;
@Listeners( ScenarioTestListener.class )
public class DualScenarioTest extends DualScenarioTestBase {
@Override
public Scenario getScenario() {
return (Scenario) ScenarioHolder.get().getScenarioOfCurrentThread();
}
}