/// <summary> /// Get the latest result from the test pipeline and continue on with the test. /// </summary> public static void GetResult <TStoryData>(this ISimpleChapter <TStoryData> chapter, Action <TStoryData> useResult) where TStoryData : class, new() { GetResult(chapter, out TStoryData storyData); useResult(storyData); }
/// <summary> /// Get the latest result from the test pipeline and continue on with the test. /// </summary> public static TStoryData GetResult <TStoryData>(this ISimpleChapter <TStoryData> chapter) where TStoryData : class, new() { GetResult(chapter, out TStoryData storyData); return(storyData); }
/// <summary> /// execute the pipeline /// </summary> public static void Execute <TStoryData>(this ISimpleChapter <TStoryData> chapter) where TStoryData : class, new() { chapter.ExecutePipeline(); }