Class ifStatementAspect

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void aroundReplacementArguments​(org.aspectj.lang.ProceedingJoinPoint pjp, io.cucumber.core.backend.TestCaseState state)  
      void aroundSetResult​(org.aspectj.lang.JoinPoint jp, Instant timeInstant, io.cucumber.plugin.event.TestCase testCase, io.cucumber.plugin.event.TestStep testStep, io.cucumber.plugin.event.Result result)  
      protected void replacementArguments​(io.cucumber.core.backend.TestCaseState state)
      This pointcut is triggered right before the step is executed
      protected void setResult​(Instant timeInstant, io.cucumber.plugin.event.TestCase testCase, io.cucumber.plugin.event.TestStep testStep, io.cucumber.plugin.event.Result result)
      This pointcut is triggered right after the creation of the TestStepFinished event.
    • Constructor Detail

      • ifStatementAspect

        public ifStatementAspect()
    • Method Detail

      • replacementArguments

        protected void replacementArguments​(io.cucumber.core.backend.TestCaseState state)
        This pointcut is triggered right before the step is executed
        Parameters:
        state - state
      • aroundReplacementArguments

        public void aroundReplacementArguments​(org.aspectj.lang.ProceedingJoinPoint pjp,
                                               io.cucumber.core.backend.TestCaseState state)
                                        throws Throwable
        Throws:
        Throwable
      • setResult

        protected void setResult​(Instant timeInstant,
                                 io.cucumber.plugin.event.TestCase testCase,
                                 io.cucumber.plugin.event.TestStep testStep,
                                 io.cucumber.plugin.event.Result result)
        This pointcut is triggered right after the creation of the TestStepFinished event. If the step was not executed the status of the result is changed to "SKIPPED", so it is colored in a different way in the console and in reports
        Parameters:
        timeInstant - timeInstant
        testCase - testCase
        testStep - testStep
        result - result