From 99c0c508dff421dbfd0649e09c363aa18c9318ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gediminas=20Mila=C5=A1ius?= Date: Thu, 9 May 2024 11:51:20 +0300 Subject: [PATCH] Works on specflow --- .../Bindings/MainBindings.cs | 2 +- .../ExecutionContext.App.Tests.csproj | 3 +- .../Features/Test.feature.cs | 78 +++++++++---------- ExecutionContext.App.Tests/Startup.cs | 2 +- ExecutionContext.App.Tests/UserStartup.cs | 2 +- 5 files changed, 40 insertions(+), 47 deletions(-) diff --git a/ExecutionContext.App.Tests/Bindings/MainBindings.cs b/ExecutionContext.App.Tests/Bindings/MainBindings.cs index 595b743..dfe6406 100644 --- a/ExecutionContext.App.Tests/Bindings/MainBindings.cs +++ b/ExecutionContext.App.Tests/Bindings/MainBindings.cs @@ -1,5 +1,5 @@ using Microsoft.Extensions.DependencyInjection; -using Reqnroll; +using TechTalk.SpecFlow; namespace ExecutionContext.App.Tests.Bindings; diff --git a/ExecutionContext.App.Tests/ExecutionContext.App.Tests.csproj b/ExecutionContext.App.Tests/ExecutionContext.App.Tests.csproj index 5d54c82..144d59b 100644 --- a/ExecutionContext.App.Tests/ExecutionContext.App.Tests.csproj +++ b/ExecutionContext.App.Tests/ExecutionContext.App.Tests.csproj @@ -11,8 +11,7 @@ - - + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/ExecutionContext.App.Tests/Features/Test.feature.cs b/ExecutionContext.App.Tests/Features/Test.feature.cs index e2be140..6427a0e 100644 --- a/ExecutionContext.App.Tests/Features/Test.feature.cs +++ b/ExecutionContext.App.Tests/Features/Test.feature.cs @@ -1,8 +1,8 @@ // ------------------------------------------------------------------------------ // -// This code was generated by Reqnroll (https://www.reqnroll.net/). -// Reqnroll Version:1.0.0.0 -// Reqnroll Generator Version:1.0.0.0 +// This code was generated by SpecFlow (https://www.specflow.org/). +// SpecFlow Version:3.9.0.0 +// SpecFlow Generator Version:3.9.0.0 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -12,17 +12,17 @@ #pragma warning disable namespace ExecutionContext.App.Tests.Features { - using Reqnroll; + using TechTalk.SpecFlow; using System; using System.Linq; - [System.CodeDom.Compiler.GeneratedCodeAttribute("Reqnroll", "1.0.0.0")] + [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "3.9.0.0")] [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - public partial class TestFeature : object, Xunit.IClassFixture, Xunit.IAsyncLifetime + public partial class TestFeature : object, Xunit.IClassFixture, System.IDisposable { - private static Reqnroll.ITestRunner testRunner; + private static TechTalk.SpecFlow.ITestRunner testRunner; private static string[] featureTags = ((string[])(null)); @@ -31,69 +31,63 @@ public partial class TestFeature : object, Xunit.IClassFixture