Esempio n. 1
0
        /// <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);
        }
Esempio n. 2
0
        /// <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);
        }
Esempio n. 3
0
 /// <summary>
 ///    execute the pipeline
 /// </summary>
 public static void Execute <TStoryData>(this ISimpleChapter <TStoryData> chapter)
     where TStoryData : class, new()
 {
     chapter.ExecutePipeline();
 }