Exemplo n.º 1
0
 public async Task Runner_should_support_async_void_scenarios()
 {
     var scenario = new AsyncScenario();
     await Runner
     .AddSteps(
         scenario.Async_void_step,
         scenario.Assert_finished)
     .RunAsync();
 }
Exemplo n.º 2
0
        public void Runner_should_support_async_void_scenarios()
        {
            var scenario = new AsyncScenario();

            Assert.DoesNotThrowAsync(() => Runner
                                     .AddSteps(
                                         scenario.Async_void_step,
                                         scenario.Assert_finished)
                                     .RunAsync());
        }