From 028b23d5a46e1b20c3fb85eb89ea623f1e64c18d Mon Sep 17 00:00:00 2001 From: Simon Baynes Date: Fri, 26 Apr 2024 10:38:34 +0100 Subject: [PATCH] Convert from Specflow to Reqnroll Closes #97 --- test/NHSNumberValidator.Test/Drivers/Driver.cs | 4 +--- test/NHSNumberValidator.Test/GlobalUsings.cs | 3 +++ test/NHSNumberValidator.Test/Hooks/Hook.cs | 4 +--- .../NHSNumberValidator.Test/NHSNumberValidator.Test.csproj | 7 +------ 4 files changed, 6 insertions(+), 12 deletions(-) create mode 100644 test/NHSNumberValidator.Test/GlobalUsings.cs diff --git a/test/NHSNumberValidator.Test/Drivers/Driver.cs b/test/NHSNumberValidator.Test/Drivers/Driver.cs index 8574315..66a1784 100644 --- a/test/NHSNumberValidator.Test/Drivers/Driver.cs +++ b/test/NHSNumberValidator.Test/Drivers/Driver.cs @@ -1,6 +1,4 @@ namespace NHSNumberValidator.Test.Drivers { - public class Driver - { - } + public class Driver; } \ No newline at end of file diff --git a/test/NHSNumberValidator.Test/GlobalUsings.cs b/test/NHSNumberValidator.Test/GlobalUsings.cs new file mode 100644 index 0000000..93523a7 --- /dev/null +++ b/test/NHSNumberValidator.Test/GlobalUsings.cs @@ -0,0 +1,3 @@ +// Global using directives + +global using Reqnroll; \ No newline at end of file diff --git a/test/NHSNumberValidator.Test/Hooks/Hook.cs b/test/NHSNumberValidator.Test/Hooks/Hook.cs index 903d4eb..24c21b8 100644 --- a/test/NHSNumberValidator.Test/Hooks/Hook.cs +++ b/test/NHSNumberValidator.Test/Hooks/Hook.cs @@ -1,7 +1,5 @@ namespace NHSNumberValidator.Test.Hooks { [Binding] - public class Hooks - { - } + public class Hooks; } \ No newline at end of file diff --git a/test/NHSNumberValidator.Test/NHSNumberValidator.Test.csproj b/test/NHSNumberValidator.Test/NHSNumberValidator.Test.csproj index fe63b39..b96c793 100644 --- a/test/NHSNumberValidator.Test/NHSNumberValidator.Test.csproj +++ b/test/NHSNumberValidator.Test/NHSNumberValidator.Test.csproj @@ -6,15 +6,10 @@ enable - - - - - - + all