I am not entering to @Given. Please advise.
Story:
Given a data of members
MemberID|FName| LName|CarrierID| GroupID| DOB| Address1| Address2| City| State| ZipCode|
100000000|PINKIE PIE|PONY| | | | | | | | | |
100000001|Rainbow|Dash| | | | | | | | | | |
and providers
ProviderID|FName| LName| Address1| Address2| City| State| ZipCode|
100000000|PINKIE PIE|PONY| | | | | |
100000001|Rainbow|Dash| | | | | |
and claims
ClaimID| MemberID| ProviderID| ClaimStatus|DaysSupply |GPI |Qty|ClaimDt|DrugName|DiagnosisCode|ProviderID| PFName| PLastName| PartyID|
100000000|100000000| 100000002|P| 30|62053550100330|60| | | | | | | |
When AP_Dementia is the program to run with 2 DTPcount
Then match output file in this file location
Steps:
@Given("a data of $members and $providers and $claims ")
public void TestFixtures(ExamplesTable members, ExamplesTable claims,
ExamplesTable providers) {
dataHelper.createMembers(members.getRows());
dataHelper.createProviders(providers.getRows());
dataHelper.createClaims(claims.getRows());
}
@When("AP_Dementia is the program to run with 2 DTPcount")
public void runGuidedHealth() {
// TODO: call guidedhealth
DrugSafetyTests dst = new DrugSafetyTests();
dst.executeTest();
}
@Then("match output file in this file location")
public void CheckFileOutput() {
}
------Console output -----
Processing system properties {}
Using controls EmbedderControls[batch=false,skip=false,generateViewAfterStories=true,ignoreFailureInStories=true,ignoreFailureInView=true,verboseFailures=false,verboseFiltering=false,storyTimeoutInSecs=60,threads=2]
Running story com/story/DrugSafetyTest.story
(com/story/DrugSafetyTest.story)
Scenario: Retrieve member information by member ID and running rule
Given a data of members
MemberID|FName| LName|CarrierID| GroupID| DOB| Address1| Address2| City| State| ZipCode|
100000000|PINKIE PIE|PONY| | | | | | | | | |
100000001|Rainbow|Dash| | | | | | | | | | |
and providers
ProviderID|FName| LName| Address1| Address2| City| State| ZipCode|
100000000|PINKIE PIE|PONY| | | | | |
100000001|Rainbow|Dash| | | | | |
and claims
ClaimID| MemberID| ProviderID| ClaimStatus|DaysSupply |GPI |Qty|ClaimDt|DrugName|DiagnosisCode|ProviderID| PFName| PLastName| PartyID|
100000000|100000000| 100000002|P| 30|62053550100330|60| | | | | | | | (PENDING)
When AP_Dementia is the program to run with 2 DTPcount (NOT PERFORMED)
Then match output file in this file location (NOT PERFORMED)
@Given("a data of members \r\nMemberID|FName| LName|CarrierID| GroupID| DOB| Address1| Address2| City| State| ZipCode| \r\n100000000|PINKIE PIE|PONY|\t|\t|\t|\t|\t|\t|\t|\t|\t|\r\n100000001|Rainbow|Dash|\t|\t|\t|\t|\t|\t|\t|\t|\t|\t|\r\n\r\nand providers \r\nProviderID|FName| LName| Address1| Address2| City| State| ZipCode| \r\n100000000|PINKIE PIE|PONY|\t|\t|\t|\t|\t|\r\n100000001|Rainbow|Dash|\t\t|\t|\t|\t|\t|\r\n\r\nand claims \r\nClaimID| MemberID| ProviderID| ClaimStatus|DaysSupply |GPI |Qty|ClaimDt|DrugName|DiagnosisCode|ProviderID| PFName| PLastName| PartyID|\r\n100000000|100000000| 100000002|P| 30|62053550100330|60|\t|\t|\t|\t|\t|\t|\t|")
@Pending
public void givenADataOfMembersMemberIDFNameLNameCarrierIDGroupIDDOBAddress1Address2CityStateZipCode100000000PINKIEPIEPONY100000001RainbowDashAndProvidersProviderIDFNameLNameAddress1Address2CityStateZipCode100000000PINKIEPIEPONY100000001RainbowDashAndClaimsClaimIDMemberIDProviderIDClaimStatusDaysSupplyGPIQtyClaimDtDrugNameDiagnosisCodeProviderIDPFNamePLastNamePartyID100000000100000000100000002P306205355010033060() {
// PENDING
}
|