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

com.tngtech.jgiven.tests.TestClassWithDescription Maven / Gradle / Ivy

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

import org.junit.Test;
import org.testng.annotations.Listeners;

import com.tngtech.jgiven.annotation.Description;
import com.tngtech.jgiven.junit.ScenarioTest;
import com.tngtech.jgiven.testng.ScenarioTestListener;

@Listeners( ScenarioTestListener.class )
@Description( "Test Description" )
public class TestClassWithDescription extends ScenarioTest {

    @Test
    @org.testng.annotations.Test
    public void some_test() {
        given().nothing();
        when().something_happens();
        then().something_happened();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy