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

com.github.aoreshin.junit5.allure.steps.StepWrapperSteps Maven / Gradle / Ivy

There is a newer version: 83
Show newest version
package com.github.aoreshin.junit5.allure.steps;


import io.qameta.allure.Allure;

public interface StepWrapperSteps {
    default T startStep(String stepName) {
        StepWrapper.getInstance().startStep(stepName);
        return (T) this;
    }

    default T stopStep() {
        StepWrapper.getInstance().stopStep();
        return (T) this;
    }

    default T step(String name, Allure.ThrowableContextRunnableVoid runnable) {
        Allure.step(name, runnable);
        return (T) this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy