Ejemplo n.º 1
0
 protected override async Task BeforeTestClassFinishedAsync()
 {
     if (_scenarioRunner != null)
     {
         await Aggregator.RunAsync(() => _scenarioRunner.Complete(_report));
     }
     await base.BeforeTestClassFinishedAsync();
 }
Ejemplo n.º 2
0
        protected override async Task BeforeTestCollectionFinishedAsync()
        {
            if (_scenarioRunner != null)
            {
                try
                {
                    await _scenarioRunner.Complete(_report);
                }
                catch (Exception ex)
                {
                    Aggregator.Add(ex);
                }
            }

            await base.BeforeTestCollectionFinishedAsync();
        }