Search in sources :

Example 6 with GherkinStepCondition

use of com.github.noraui.gherkin.GherkinStepCondition in project NoraUi by NoraUi.

the class StepUT method setUp.

@Before
public void setUp() {
    step = new Step();
    ci = new ConditionedInterceptor();
    gherkinCondition = new GherkinStepCondition();
    conditions = new ArrayList<>();
    NoraUiInjector.resetInjector();
    new NoraUiInjectorSource().getInjector();
}
Also used : ConditionedInterceptor(com.github.noraui.cucumber.interceptor.ConditionedInterceptor) GherkinConditionedLoopedStep(com.github.noraui.gherkin.GherkinConditionedLoopedStep) GherkinStepCondition(com.github.noraui.gherkin.GherkinStepCondition) NoraUiInjectorSource(com.github.noraui.cucumber.injector.NoraUiInjectorSource) Before(org.junit.Before)

Aggregations

GherkinStepCondition (com.github.noraui.gherkin.GherkinStepCondition)6 TechnicalException (com.github.noraui.exception.TechnicalException)3 AssertError (com.github.noraui.exception.AssertError)2 GherkinConditionedLoopedStep (com.github.noraui.gherkin.GherkinConditionedLoopedStep)2 Then (cucumber.api.java.en.Then)2 Lorsque (cucumber.api.java.fr.Lorsque)2 Method (java.lang.reflect.Method)2 NoraUiInjectorSource (com.github.noraui.cucumber.injector.NoraUiInjectorSource)1 ConditionedInterceptor (com.github.noraui.cucumber.interceptor.ConditionedInterceptor)1 FailureException (com.github.noraui.exception.FailureException)1 Parameter (java.lang.reflect.Parameter)1 ParseException (java.text.ParseException)1 ArrayList (java.util.ArrayList)1 List (java.util.List)1 Matcher (java.util.regex.Matcher)1 Before (org.junit.Before)1