public void WrappedStepTest() { AllureLifecycle.Instance.WrapInStep(() => { StepsExamples.Step1(); AllureLifecycle.Instance.WrapInStep(() => { Console.WriteLine("2"); AllureLifecycle.Instance.WrapInStep(() => { Console.WriteLine("Step in step 2"); }, "Step in Step 2"); }, "Step2"); StepsExamples.Step3(); }, "RootStep"); }
public void SimpleStepTest() { StepsExamples.Step1(); AllureLifecycle.Instance.WrapInStep(() => { Console.WriteLine("Step 2"); }, "Step2"); StepsExamples.Step3(); }