(_testOutputHelper);
}
- public void ScenarioStart()
+ public async System.Threading.Tasks.Task ScenarioStartAsync()
{
- testRunner.OnScenarioStart();
+ await testRunner.OnScenarioStartAsync();
}
- public void ScenarioCleanup()
+ public async System.Threading.Tasks.Task ScenarioCleanupAsync()
{
- testRunner.CollectScenarioErrors();
+ await testRunner.CollectScenarioErrorsAsync();
}
- public virtual void FeatureBackground()
+ public virtual async System.Threading.Tasks.Task FeatureBackgroundAsync()
{
#line 4
#line hidden
- TechTalk.SpecFlow.Table table29 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table29 = new Reqnroll.Table(new string[] {
"Name",
"DisplayName",
"Description"});
@@ -104,9 +105,9 @@ public virtual void FeatureBackground()
"File Processor REST Scope",
"A scope for File Processor REST"});
#line 5
- testRunner.Given("I create the following api scopes", ((string)(null)), table29, "Given ");
+ await testRunner.GivenAsync("I create the following api scopes", ((string)(null)), table29, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table30 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table30 = new Reqnroll.Table(new string[] {
"Name",
"DisplayName",
"Secret",
@@ -137,9 +138,9 @@ public virtual void FeatureBackground()
"fileProcessor",
""});
#line 12
- testRunner.Given("the following api resources exist", ((string)(null)), table30, "Given ");
+ await testRunner.GivenAsync("the following api resources exist", ((string)(null)), table30, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table31 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table31 = new Reqnroll.Table(new string[] {
"ClientId",
"ClientName",
"Secret",
@@ -152,24 +153,24 @@ public virtual void FeatureBackground()
"estateManagement,transactionProcessor,voucherManagement,fileProcessor",
"client_credentials"});
#line 19
- testRunner.Given("the following clients exist", ((string)(null)), table31, "Given ");
+ await testRunner.GivenAsync("the following clients exist", ((string)(null)), table31, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table32 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table32 = new Reqnroll.Table(new string[] {
"ClientId"});
table32.AddRow(new string[] {
"serviceClient"});
#line 23
- testRunner.Given("I have a token to access the estate management and transaction processor resource" +
+ await testRunner.GivenAsync("I have a token to access the estate management and transaction processor resource" +
"s", ((string)(null)), table32, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table33 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table33 = new Reqnroll.Table(new string[] {
"EstateName"});
table33.AddRow(new string[] {
"Test Estate 1"});
#line 27
- testRunner.Given("I have created the following estates", ((string)(null)), table33, "Given ");
+ await testRunner.GivenAsync("I have created the following estates", ((string)(null)), table33, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table34 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table34 = new Reqnroll.Table(new string[] {
"EstateName",
"OperatorName",
"RequireCustomMerchantNumber",
@@ -185,9 +186,9 @@ public virtual void FeatureBackground()
"True",
"True"});
#line 31
- testRunner.Given("I have created the following operators", ((string)(null)), table34, "Given ");
+ await testRunner.GivenAsync("I have created the following operators", ((string)(null)), table34, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table35 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table35 = new Reqnroll.Table(new string[] {
"EstateName",
"OperatorName",
"ContractDescription"});
@@ -200,9 +201,9 @@ public virtual void FeatureBackground()
"Voucher",
"Hospital 1 Contract"});
#line 36
- testRunner.Given("I create a contract with the following values", ((string)(null)), table35, "Given ");
+ await testRunner.GivenAsync("I create a contract with the following values", ((string)(null)), table35, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table36 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table36 = new Reqnroll.Table(new string[] {
"EstateName",
"OperatorName",
"ContractDescription",
@@ -227,9 +228,9 @@ public virtual void FeatureBackground()
"",
"Voucher"});
#line 41
- testRunner.When("I create the following Products", ((string)(null)), table36, "When ");
+ await testRunner.WhenAsync("I create the following Products", ((string)(null)), table36, "When ");
#line hidden
- TechTalk.SpecFlow.Table table37 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table37 = new Reqnroll.Table(new string[] {
"EstateName",
"OperatorName",
"ContractDescription",
@@ -246,9 +247,9 @@ public virtual void FeatureBackground()
"Merchant Commission",
"2.50"});
#line 46
- testRunner.When("I add the following Transaction Fees", ((string)(null)), table37, "When ");
+ await testRunner.WhenAsync("I add the following Transaction Fees", ((string)(null)), table37, "When ");
#line hidden
- TechTalk.SpecFlow.Table table38 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table38 = new Reqnroll.Table(new string[] {
"MerchantName",
"AddressLine1",
"Town",
@@ -267,9 +268,9 @@ public virtual void FeatureBackground()
"testcontact1@merchant1.co.uk",
"Test Estate 1"});
#line 50
- testRunner.Given("I create the following merchants", ((string)(null)), table38, "Given ");
+ await testRunner.GivenAsync("I create the following merchants", ((string)(null)), table38, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table39 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table39 = new Reqnroll.Table(new string[] {
"OperatorName",
"MerchantName",
"MerchantNumber",
@@ -288,9 +289,9 @@ public virtual void FeatureBackground()
"10000001",
"Test Estate 1"});
#line 54
- testRunner.Given("I have assigned the following operator to the merchants", ((string)(null)), table39, "Given ");
+ await testRunner.GivenAsync("I have assigned the following operator to the merchants", ((string)(null)), table39, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table40 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table40 = new Reqnroll.Table(new string[] {
"DeviceIdentifier",
"MerchantName",
"EstateName"});
@@ -299,9 +300,9 @@ public virtual void FeatureBackground()
"Test Merchant 1",
"Test Estate 1"});
#line 59
- testRunner.Given("I have assigned the following devices to the merchants", ((string)(null)), table40, "Given ");
+ await testRunner.GivenAsync("I have assigned the following devices to the merchants", ((string)(null)), table40, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table41 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table41 = new Reqnroll.Table(new string[] {
"EstateName",
"MerchantName",
"ContractDescription"});
@@ -314,9 +315,9 @@ public virtual void FeatureBackground()
"Test Merchant 1",
"Hospital 1 Contract"});
#line 63
- testRunner.When("I add the following contracts to the following merchants", ((string)(null)), table41, "When ");
+ await testRunner.WhenAsync("I add the following contracts to the following merchants", ((string)(null)), table41, "When ");
#line hidden
- TechTalk.SpecFlow.Table table42 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table42 = new Reqnroll.Table(new string[] {
"Reference",
"Amount",
"DateTime",
@@ -329,23 +330,28 @@ public virtual void FeatureBackground()
"Test Merchant 1",
"Test Estate 1"});
#line 68
- testRunner.Given("I make the following manual merchant deposits", ((string)(null)), table42, "Given ");
+ await testRunner.GivenAsync("I make the following manual merchant deposits", ((string)(null)), table42, "Given ");
#line hidden
}
- void System.IDisposable.Dispose()
+ async System.Threading.Tasks.Task Xunit.IAsyncLifetime.InitializeAsync()
{
- this.TestTearDown();
+ await this.TestInitializeAsync();
+ }
+
+ async System.Threading.Tasks.Task Xunit.IAsyncLifetime.DisposeAsync()
+ {
+ await this.TestTearDownAsync();
}
[Xunit.SkippableFactAttribute(DisplayName="Process Safaricom Topup File with 1 detail row")]
[Xunit.TraitAttribute("FeatureTitle", "Process Topup CSV Files")]
[Xunit.TraitAttribute("Description", "Process Safaricom Topup File with 1 detail row")]
- public void ProcessSafaricomTopupFileWith1DetailRow()
+ public async System.Threading.Tasks.Task ProcessSafaricomTopupFileWith1DetailRow()
{
string[] tagsOfScenario = ((string[])(null));
System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
- TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Process Safaricom Topup File with 1 detail row", null, tagsOfScenario, argumentsOfScenario, featureTags);
+ Reqnroll.ScenarioInfo scenarioInfo = new Reqnroll.ScenarioInfo("Process Safaricom Topup File with 1 detail row", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 72
this.ScenarioInitialize(scenarioInfo);
#line hidden
@@ -355,11 +361,11 @@ public void ProcessSafaricomTopupFileWith1DetailRow()
}
else
{
- this.ScenarioStart();
+ await this.ScenarioStartAsync();
#line 4
-this.FeatureBackground();
+await this.FeatureBackgroundAsync();
#line hidden
- TechTalk.SpecFlow.Table table43 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table43 = new Reqnroll.Table(new string[] {
"Column1",
"Column2",
"Column3"});
@@ -376,9 +382,9 @@ public void ProcessSafaricomTopupFileWith1DetailRow()
"1",
""});
#line 73
- testRunner.Given("I have a file named \'SafarcomTopup.txt\' with the following contents", ((string)(null)), table43, "Given ");
+ await testRunner.GivenAsync("I have a file named \'SafarcomTopup.txt\' with the following contents", ((string)(null)), table43, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table44 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table44 = new Reqnroll.Table(new string[] {
"EstateName",
"MerchantName",
"FileProfileId",
@@ -389,20 +395,20 @@ public void ProcessSafaricomTopupFileWith1DetailRow()
"B2A59ABF-293D-4A6B-B81B-7007503C3476",
"ABA59ABF-293D-4A6B-B81B-7007503C3476"});
#line 78
- testRunner.And("I upload this file for processing", ((string)(null)), table44, "And ");
+ await testRunner.AndAsync("I upload this file for processing", ((string)(null)), table44, "And ");
#line hidden
}
- this.ScenarioCleanup();
+ await this.ScenarioCleanupAsync();
}
[Xunit.SkippableFactAttribute(DisplayName="Process Safaricom Topup File with 2 detail rows")]
[Xunit.TraitAttribute("FeatureTitle", "Process Topup CSV Files")]
[Xunit.TraitAttribute("Description", "Process Safaricom Topup File with 2 detail rows")]
- public void ProcessSafaricomTopupFileWith2DetailRows()
+ public async System.Threading.Tasks.Task ProcessSafaricomTopupFileWith2DetailRows()
{
string[] tagsOfScenario = ((string[])(null));
System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
- TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Process Safaricom Topup File with 2 detail rows", null, tagsOfScenario, argumentsOfScenario, featureTags);
+ Reqnroll.ScenarioInfo scenarioInfo = new Reqnroll.ScenarioInfo("Process Safaricom Topup File with 2 detail rows", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 84
this.ScenarioInitialize(scenarioInfo);
#line hidden
@@ -412,11 +418,11 @@ public void ProcessSafaricomTopupFileWith2DetailRows()
}
else
{
- this.ScenarioStart();
+ await this.ScenarioStartAsync();
#line 4
-this.FeatureBackground();
+await this.FeatureBackgroundAsync();
#line hidden
- TechTalk.SpecFlow.Table table45 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table45 = new Reqnroll.Table(new string[] {
"Column1",
"Column2",
"Column3"});
@@ -437,9 +443,9 @@ public void ProcessSafaricomTopupFileWith2DetailRows()
"2",
""});
#line 85
- testRunner.Given("I have a file named \'SafarcomTopup.txt\' with the following contents", ((string)(null)), table45, "Given ");
+ await testRunner.GivenAsync("I have a file named \'SafarcomTopup.txt\' with the following contents", ((string)(null)), table45, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table46 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table46 = new Reqnroll.Table(new string[] {
"EstateName",
"MerchantName",
"FileProfileId",
@@ -450,20 +456,20 @@ public void ProcessSafaricomTopupFileWith2DetailRows()
"B2A59ABF-293D-4A6B-B81B-7007503C3476",
"ABA59ABF-293D-4A6B-B81B-7007503C3476"});
#line 91
- testRunner.And("I upload this file for processing", ((string)(null)), table46, "And ");
+ await testRunner.AndAsync("I upload this file for processing", ((string)(null)), table46, "And ");
#line hidden
}
- this.ScenarioCleanup();
+ await this.ScenarioCleanupAsync();
}
[Xunit.SkippableFactAttribute(DisplayName="Process 2 Safaricom Topup Files")]
[Xunit.TraitAttribute("FeatureTitle", "Process Topup CSV Files")]
[Xunit.TraitAttribute("Description", "Process 2 Safaricom Topup Files")]
- public void Process2SafaricomTopupFiles()
+ public async System.Threading.Tasks.Task Process2SafaricomTopupFiles()
{
string[] tagsOfScenario = ((string[])(null));
System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
- TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Process 2 Safaricom Topup Files", null, tagsOfScenario, argumentsOfScenario, featureTags);
+ Reqnroll.ScenarioInfo scenarioInfo = new Reqnroll.ScenarioInfo("Process 2 Safaricom Topup Files", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 97
this.ScenarioInitialize(scenarioInfo);
#line hidden
@@ -473,11 +479,11 @@ public void Process2SafaricomTopupFiles()
}
else
{
- this.ScenarioStart();
+ await this.ScenarioStartAsync();
#line 4
-this.FeatureBackground();
+await this.FeatureBackgroundAsync();
#line hidden
- TechTalk.SpecFlow.Table table47 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table47 = new Reqnroll.Table(new string[] {
"Column1",
"Column2",
"Column3"});
@@ -494,9 +500,9 @@ public void Process2SafaricomTopupFiles()
"1",
""});
#line 98
- testRunner.Given("I have a file named \'SafarcomTopup1.txt\' with the following contents", ((string)(null)), table47, "Given ");
+ await testRunner.GivenAsync("I have a file named \'SafarcomTopup1.txt\' with the following contents", ((string)(null)), table47, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table48 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table48 = new Reqnroll.Table(new string[] {
"EstateName",
"MerchantName",
"FileProfileId",
@@ -507,9 +513,9 @@ public void Process2SafaricomTopupFiles()
"B2A59ABF-293D-4A6B-B81B-7007503C3476",
"ABA59ABF-293D-4A6B-B81B-7007503C3476"});
#line 103
- testRunner.And("I upload this file for processing", ((string)(null)), table48, "And ");
+ await testRunner.AndAsync("I upload this file for processing", ((string)(null)), table48, "And ");
#line hidden
- TechTalk.SpecFlow.Table table49 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table49 = new Reqnroll.Table(new string[] {
"Column1",
"Column2",
"Column3"});
@@ -530,9 +536,9 @@ public void Process2SafaricomTopupFiles()
"2",
""});
#line 107
- testRunner.Given("I have a file named \'SafarcomTopup2.txt\' with the following contents", ((string)(null)), table49, "Given ");
+ await testRunner.GivenAsync("I have a file named \'SafarcomTopup2.txt\' with the following contents", ((string)(null)), table49, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table50 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table50 = new Reqnroll.Table(new string[] {
"EstateName",
"MerchantName",
"FileProfileId",
@@ -543,22 +549,22 @@ public void Process2SafaricomTopupFiles()
"B2A59ABF-293D-4A6B-B81B-7007503C3476",
"ABA59ABF-293D-4A6B-B81B-7007503C3476"});
#line 113
- testRunner.And("I upload this file for processing", ((string)(null)), table50, "And ");
+ await testRunner.AndAsync("I upload this file for processing", ((string)(null)), table50, "And ");
#line hidden
}
- this.ScenarioCleanup();
+ await this.ScenarioCleanupAsync();
}
[Xunit.SkippableFactAttribute(DisplayName="Process Duplicate Safaricom Topup File with 1 detail row")]
[Xunit.TraitAttribute("FeatureTitle", "Process Topup CSV Files")]
[Xunit.TraitAttribute("Description", "Process Duplicate Safaricom Topup File with 1 detail row")]
[Xunit.TraitAttribute("Category", "PRTest")]
- public void ProcessDuplicateSafaricomTopupFileWith1DetailRow()
+ public async System.Threading.Tasks.Task ProcessDuplicateSafaricomTopupFileWith1DetailRow()
{
string[] tagsOfScenario = new string[] {
"PRTest"};
System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
- TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Process Duplicate Safaricom Topup File with 1 detail row", null, tagsOfScenario, argumentsOfScenario, featureTags);
+ Reqnroll.ScenarioInfo scenarioInfo = new Reqnroll.ScenarioInfo("Process Duplicate Safaricom Topup File with 1 detail row", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 120
this.ScenarioInitialize(scenarioInfo);
#line hidden
@@ -568,11 +574,11 @@ public void ProcessDuplicateSafaricomTopupFileWith1DetailRow()
}
else
{
- this.ScenarioStart();
+ await this.ScenarioStartAsync();
#line 4
-this.FeatureBackground();
+await this.FeatureBackgroundAsync();
#line hidden
- TechTalk.SpecFlow.Table table51 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table51 = new Reqnroll.Table(new string[] {
"Column1",
"Column2",
"Column3"});
@@ -593,9 +599,9 @@ public void ProcessDuplicateSafaricomTopupFileWith1DetailRow()
"1",
""});
#line 121
- testRunner.Given("I have a file named \'SafarcomTopup1.txt\' with the following contents", ((string)(null)), table51, "Given ");
+ await testRunner.GivenAsync("I have a file named \'SafarcomTopup1.txt\' with the following contents", ((string)(null)), table51, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table52 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table52 = new Reqnroll.Table(new string[] {
"EstateName",
"MerchantName",
"FileProfileId",
@@ -606,9 +612,9 @@ public void ProcessDuplicateSafaricomTopupFileWith1DetailRow()
"B2A59ABF-293D-4A6B-B81B-7007503C3476",
"ABA59ABF-293D-4A6B-B81B-7007503C3476"});
#line 127
- testRunner.And("I upload this file for processing", ((string)(null)), table52, "And ");
+ await testRunner.AndAsync("I upload this file for processing", ((string)(null)), table52, "And ");
#line hidden
- TechTalk.SpecFlow.Table table53 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table53 = new Reqnroll.Table(new string[] {
"Column1",
"Column2",
"Column3"});
@@ -629,9 +635,9 @@ public void ProcessDuplicateSafaricomTopupFileWith1DetailRow()
"1",
""});
#line 133
- testRunner.Given("I have a file named \'SafarcomTopup2.txt\' with the following contents", ((string)(null)), table53, "Given ");
+ await testRunner.GivenAsync("I have a file named \'SafarcomTopup2.txt\' with the following contents", ((string)(null)), table53, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table54 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table54 = new Reqnroll.Table(new string[] {
"EstateName",
"MerchantName",
"FileProfileId",
@@ -642,21 +648,21 @@ public void ProcessDuplicateSafaricomTopupFileWith1DetailRow()
"B2A59ABF-293D-4A6B-B81B-7007503C3476",
"ABA59ABF-293D-4A6B-B81B-7007503C3476"});
#line 139
- testRunner.And("I upload this file for processing an error should be returned indicating the file" +
+ await testRunner.AndAsync("I upload this file for processing an error should be returned indicating the file" +
" is a duplicate", ((string)(null)), table54, "And ");
#line hidden
}
- this.ScenarioCleanup();
+ await this.ScenarioCleanupAsync();
}
[Xunit.SkippableFactAttribute(DisplayName="Process Safaricom Topup File with Upload Date Time")]
[Xunit.TraitAttribute("FeatureTitle", "Process Topup CSV Files")]
[Xunit.TraitAttribute("Description", "Process Safaricom Topup File with Upload Date Time")]
- public void ProcessSafaricomTopupFileWithUploadDateTime()
+ public async System.Threading.Tasks.Task ProcessSafaricomTopupFileWithUploadDateTime()
{
string[] tagsOfScenario = ((string[])(null));
System.Collections.Specialized.OrderedDictionary argumentsOfScenario = new System.Collections.Specialized.OrderedDictionary();
- TechTalk.SpecFlow.ScenarioInfo scenarioInfo = new TechTalk.SpecFlow.ScenarioInfo("Process Safaricom Topup File with Upload Date Time", null, tagsOfScenario, argumentsOfScenario, featureTags);
+ Reqnroll.ScenarioInfo scenarioInfo = new Reqnroll.ScenarioInfo("Process Safaricom Topup File with Upload Date Time", null, tagsOfScenario, argumentsOfScenario, featureTags);
#line 145
this.ScenarioInitialize(scenarioInfo);
#line hidden
@@ -666,11 +672,11 @@ public void ProcessSafaricomTopupFileWithUploadDateTime()
}
else
{
- this.ScenarioStart();
+ await this.ScenarioStartAsync();
#line 4
-this.FeatureBackground();
+await this.FeatureBackgroundAsync();
#line hidden
- TechTalk.SpecFlow.Table table55 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table55 = new Reqnroll.Table(new string[] {
"Column1",
"Column2",
"Column3"});
@@ -687,9 +693,9 @@ public void ProcessSafaricomTopupFileWithUploadDateTime()
"1",
""});
#line 146
- testRunner.Given("I have a file named \'SafarcomTopup.txt\' with the following contents", ((string)(null)), table55, "Given ");
+ await testRunner.GivenAsync("I have a file named \'SafarcomTopup.txt\' with the following contents", ((string)(null)), table55, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table56 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table56 = new Reqnroll.Table(new string[] {
"EstateName",
"MerchantName",
"FileProfileId",
@@ -702,13 +708,13 @@ public void ProcessSafaricomTopupFileWithUploadDateTime()
"ABA59ABF-293D-4A6B-B81B-7007503C3476",
"Today"});
#line 151
- testRunner.And("I upload this file for processing", ((string)(null)), table56, "And ");
+ await testRunner.AndAsync("I upload this file for processing", ((string)(null)), table56, "And ");
#line hidden
#line 155
- testRunner.When("I get the import log for estate \'Test Estate 1\' the date on the import log is \'To" +
- "day\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
+ await testRunner.WhenAsync("I get the import log for estate \'Test Estate 1\' the date on the import log is \'To" +
+ "day\'", ((string)(null)), ((Reqnroll.Table)(null)), "When ");
#line hidden
- TechTalk.SpecFlow.Table table57 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table57 = new Reqnroll.Table(new string[] {
"Column1",
"Column2",
"Column3"});
@@ -725,9 +731,9 @@ public void ProcessSafaricomTopupFileWithUploadDateTime()
"1",
""});
#line 157
- testRunner.Given("I have a file named \'SafarcomTopup1.txt\' with the following contents", ((string)(null)), table57, "Given ");
+ await testRunner.GivenAsync("I have a file named \'SafarcomTopup1.txt\' with the following contents", ((string)(null)), table57, "Given ");
#line hidden
- TechTalk.SpecFlow.Table table58 = new TechTalk.SpecFlow.Table(new string[] {
+ Reqnroll.Table table58 = new Reqnroll.Table(new string[] {
"EstateName",
"MerchantName",
"FileProfileId",
@@ -740,29 +746,29 @@ public void ProcessSafaricomTopupFileWithUploadDateTime()
"ABA59ABF-293D-4A6B-B81B-7007503C3476",
"01/09/2021"});
#line 162
- testRunner.And("I upload this file for processing", ((string)(null)), table58, "And ");
+ await testRunner.AndAsync("I upload this file for processing", ((string)(null)), table58, "And ");
#line hidden
#line 166
- testRunner.When("I get the import log for estate \'Test Estate 1\' the date on the import log is \'01" +
- "/09/2021\'", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "When ");
+ await testRunner.WhenAsync("I get the import log for estate \'Test Estate 1\' the date on the import log is \'01" +
+ "/09/2021\'", ((string)(null)), ((Reqnroll.Table)(null)), "When ");
#line hidden
}
- this.ScenarioCleanup();
+ await this.ScenarioCleanupAsync();
}
- [System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "3.9.0.0")]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("Reqnroll", "1.0.0.0")]
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- public class FixtureData : System.IDisposable
+ public class FixtureData : object, Xunit.IAsyncLifetime
{
- public FixtureData()
+ async System.Threading.Tasks.Task Xunit.IAsyncLifetime.InitializeAsync()
{
- ProcessTopupCSVFilesFeature.FeatureSetup();
+ await ProcessTopupCSVFilesFeature.FeatureSetupAsync();
}
- void System.IDisposable.Dispose()
+ async System.Threading.Tasks.Task Xunit.IAsyncLifetime.DisposeAsync()
{
- ProcessTopupCSVFilesFeature.FeatureTearDown();
+ await ProcessTopupCSVFilesFeature.FeatureTearDownAsync();
}
}
}
diff --git a/FileProcessor.IntegrationTests/Features/ProcessTopupCSVSteps.cs b/FileProcessor.IntegrationTests/Features/ProcessTopupCSVSteps.cs
index 6139dd4..e5c431f 100644
--- a/FileProcessor.IntegrationTests/Features/ProcessTopupCSVSteps.cs
+++ b/FileProcessor.IntegrationTests/Features/ProcessTopupCSVSteps.cs
@@ -12,10 +12,9 @@ namespace FileProcessor.IntegrationTests.Features
using System.Net.Http.Headers;
using System.Threading;
using Common;
+ using Reqnroll;
using Shared.IntegrationTesting;
using Shouldly;
- using TechTalk.SpecFlow;
- using SpecflowTableHelper = Common.SpecflowTableHelper;
[Binding]
[Scope(Tag = "processtopupcsv")]
diff --git a/FileProcessor.IntegrationTests/Features/ProcessVoucherCSV.feature.cs b/FileProcessor.IntegrationTests/Features/ProcessVoucherCSV.feature.cs
index 8e7b431..2a49a2e 100644
--- a/FileProcessor.IntegrationTests/Features/ProcessVoucherCSV.feature.cs
+++ b/FileProcessor.IntegrationTests/Features/ProcessVoucherCSV.feature.cs
@@ -1,8 +1,8 @@
// ------------------------------------------------------------------------------
//